In message <[EMAIL PROTECTED]>, Lyndon 
Nerenberg writes
:
> [Redirecting to the hackers list -- please respect the reply-to header]
> 
> >>>>> "Claus" == Claus Assmann <[EMAIL PROTECTED]> writes:
> 
>     Claus> On Mon, May 27, 2002, Philip J. Koenig wrote:
>     >> Any particular reason why the sendmail with 4.6-RC is writing sm-
>     >> client.pid into /var/spool/clientmqueue instead of /var/run?
> 
>     Claus> Permissions.
> 
> This points out a short-fall in the /var/run scheme: it can only be used
> by processes running with an euid of 0 at the time they create the file.
> 
> If we have a /var/run/sendmail directory owned by the smmsp user then
> sendmail can create its pid files there. Likewise for bind. The purgedir
> function in /etc/rc (used to clean /var/run) will preserve the existing
> directory structure under /var/run, so the sub-directory tree will
> survive reboots.

Maybe not for named because you're better off using the -t option.


--
Cheers,                          Phone:  250-387-8437
Cy Schubert                        Fax:  250-387-5766
Team Leader, Sun/Alpha Team      Email:  [EMAIL PROTECTED]
Open Systems Group, CITS
Ministry of Management Services
Province of BC            
                    FreeBSD UNIX:  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to