[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: /var/run/directory/

On Mon, 4 Oct 2004 23:45, Bill Nottingham <notting redhat com> wrote:
> Russell Coker (russell coker com au) 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.

> > In terms of what
> > name to use (service, server, or something else) it's exactly the same
> > issue as we have at the moment with /var/run/something.pid.
> 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.

http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]