On Sat, Dec 09, 2006 at 01:26:05PM +0100, Dieter Roels wrote:

> Jurij,
> 
> I am sorry to tell you, but when I turned my portable on this morning 
> the daemon was started twice again :(

Well, when you said that you did not have a /lib/init/rw directory, I 
sort of expected this to happen. The point of using /lib/init/rw is 
that this is a RAM-based filesystem, so its contents get erased every 
time the machine is rebooted. Unfortunately, the version of 
initscripts, which creates /lib/init/rw, is currently in sid (that 
explains why it works for me), but not in testing (that explains why 
it does not work for you). Looks like some alternative solution will 
need to be found...
 
> Isn't is possible to use the --isrunning function of the daemon to check 
> if it is already running before starting it?

I'm pretty sure that --isrunning just checks for the presence of the 
pid file, so it will not help in the situation when this pid file gets 
erased by S36mountall-bootclean.sh.

Thanks a lot for your testing,
-- 
Jurij Smakov                                           [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC


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

Reply via email to