[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#494168: Interesting tidbit.



I discovered something interesting. If, the first thing I do after
logging in (before starting the X server), I run "/etc/init.d/cups
restart", cups works fine. From what I've tested at least.

Running this command from within xorg, it goes back to it's buggy
behavior. It is something like this:

1) Boot computer
2) Log in as root
2a) ps -A | grep cups (cupsd is running)
3) /etc/init.d/cups restart
4) Log back out
5) Log in as regular user (wk)
6) Start X server (startx)
7) lpstat as many times as I want. No crashes
8) Log in as root in other terminal
9) As root, /etc/init.d/cups restart
10) In regular user terminal, run lpstat twice more
11) And cupsd crashes again.

Interesting that xorg would have an affect on cupsd.

Also, cupsd and lpstat behaves the same way if I never run the X server
in the first place.

1) Boot computer
2) Log in as root
3) lpstat twice and crash

1) Boot computer
2) Log in as root
3) /etc/init.d/cups restart
4) lpstat as many times as I want. No crashes.

So what I get from this, is that any cupsd that is started by init
scripts, or that is started from within xorg, will crash. But any time
that I start it manually, but outside of xorg, it will not crash.

-Brandon

Attachment: signature.asc
Description: PGP signature


Reply to: