The problem as i see with this approach is that if someone kills a process by hand (or it crashes), the start up scripts dont recognize it. This is because as far as /mnt/.init.d is concerned it is still started. Balaji
-----Original Message----- From: brett holcomb [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 12:37 PM To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] Any way to put the startup scripts in debug mode? If I remember correctly /mnt/.init.d is created during startup as it's a memory resident file. On Mon, 3 Mar 2003 12:26:40 -0800 Balaji Srinivasan <[EMAIL PROTECTED]> wrote: >Hi Everyone >Is there any easy way to have /sbin/runscript and the >start-stop-daemon >print out some reasonable debug logs when it fails? Its >really irritating to >see those two !! marks to say the startup failed but have >no idea why it >failed. I had to do an strace to find out that it looks >at /mnt/.init.d/ for >a lot of info etc. Why cant it depend on runtime >information rather than >depend on info from the file system which could be out of >date. >Thanks >Balaji > >-- >[EMAIL PROTECTED] mailing list > -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
