Mike Jagdis wrote:
> 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
Well thanks for the attention on this.
Myself Im a novice, so when something works.. then mysteriously dosent -- its
very frustrating.
I subscribe to Suse list and posted this question a few months ago when I had
this problem, but never got an answer. Tis time around I posted here and to the
Suse list to be told by the creators that its probably a stale pid. so now
*everyone knows*!
Seems like its the distributions code aayyee? hummm thats not too encouraging.
It was suggested that thease aqquired stale pids come from killing diald by hand
ie: kill -9 pid.
I tried that and it did not leave behind a stale pid. So Im not sure what the
problem is but neverthe less I know how to fix this delimma if it occurs again.
In the past Ive totally raked my self trying to fix it so it would start...
seems like such an easy fix.
thanks for your attention to the matter
rob
Linux Home page http://www.connix.com/~dizzy73/LBM.htm
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]