Russell Coker (russell@xxxxxxxxxxxx) said: > On Mon, 4 Oct 2004 23:45, Bill Nottingham <notting@xxxxxxxxxx> wrote: > > Russell Coker (russell@xxxxxxxxxxxx) said: > > > > While creating a new problem for finding pid files... do you go > > > > by the service name? The server name? Something else? > > > > > > How would the problem be any greater than it is right now? > > > > Right now it's basename of the process. > > Except in the case of /var/run/sm-client.pid which has a process base-name of > "sendmail". I'm sure that there are other similar exceptions too. There are overrides to the daemon function that makes some of this work, but it doesn't work *well*. > > If you move to this new thing, do you do one dir per daemon? One > > per process? Something else? > > One per security context. So have /var/run/sendmail for sendmail.pid and > sm-client.pid as they are both part of the sendmail service. Then there's really no good way for Joe Random Process to know that the pid for sm-client is in the sendmail dir. Bill