On Tue, Dec 26, 2006 at 03:55:32PM +0100, Ludovic Rousseau wrote:
>> ...or that it dies across suspend/resume, without rm-ing the pid file.
> That would be a bug in pcscd. I do not use suspend/resume myself. I
> would be interested in more inverstigations if you can.

Actually, I think I know what is happening. Sometimes my machine does not
properly wake from resume, so I have to hard-reboot it; that leaves the pid
and pub files. Similarly, any other unclean shutdown will probably do the
same.

> Yes. But that is not what your NMU is doing.
> It may not be a good idea to remove $PIDFILE and $PUBFILE instead of
> letting pcscd do it itself.

Well, it will do it itself -- assuming it gets shut down properly.

Nevertheless I believe having start call restart and restart call start is a
really bad idea, especially as the loop spawns new processes all the time and
eventually kills your entire machine if you don't stop it. I really cannot
find any good reason why it should be that way.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to