On Sun, 14 Mar 1999, Ed Doolittle wrote:
> Hmm, doesn't diald check to see that the PID actually corresponds to a
> running process?
No. Diald writes the pid to a file if asked but it doesn't use
it for locking itself out.
> 1) Diald should check that the diald PID in the pidfile actually
> corresponds to a running *diald* process
It must be the start up script that is checking - and if the
distribution is stupid enough not to clean out per-boot directories
it gets what it deserves.
> 3) Diald should switch pids after a certain amount of time to get a random
> higher pid number which would be less likely to interfere with the boot
> process. (Is it possible for a process to change pids without forking?)
No. I flatly refuse to fix broken distributions by kludging
the code around. I expect people getting paid to do some commercial
quality scripting to GET IT RIGHT!!!
I *may* put my own start up and connect scripts in the next
diald release - but I'm not sure the commercial sector deserve
free hand outs to fix their own stupidity :-).
Mike
--
.----------------------------------------------------------------------.
| Mike Jagdis | Internet: [EMAIL PROTECTED] |
| 280, Silverdale Road, Earley, | Voice: +44 118 926 6996 |
| Reading RG6 7NU ENGLAND | Work: +44 118 989 0403 |
`----------------------------------------------------------------------'
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]