[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/41252: named pid file has moved
The following reply was made to PR bin/41252; it has been noted by GNATS.
From: "Greg A. Woods" <woods%planix.com@localhost>
To: christos%zoulas.com@localhost (Christos Zoulas)
Cc: matthew green <mrg%eterna.com.au@localhost>,
NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Subject: Re: bin/41252: named pid file has moved
Date: Sat, 25 Apr 2009 21:09:28 -0400
Content-Type: text/plain; charset=US-ASCII
At Mon, 20 Apr 2009 12:59:51 -0400, christos%zoulas.com@localhost (Christos
Subject: re: bin/41252: named pid file has moved
> On Apr 21, 2:33am, mrg%eterna.com.au@localhost (matthew green) wrote:
> -- Subject: re: bin/41252: named pid file has moved
> | =20
> | * Change the built-in default back to /var/run/named.pid.
> | yes please.
> | .mrg.
> The reason they changed this is:
> 2486. [func] The default locations for named.pid and lwresd.pid
> are now /var/run/named/named.pid and
> /var/run/lwresd/lwresd.pid respectively.
> This allows the owner of the containing directory
> to be set, for "named -u" support, and allows the=
> to be a permanent symbolic link in the path, for
> "named -t" support. [RT #18306]
Note that on NetBSD the PID files should _never_ be writable by anyone
other than root. The /etc/rc.d infrastructure trusts their content.
Named should be fixed (once again) to create its PID file before
changing its runtime user-ID and/or doing chroot.
Greg A. Woods
<woods%planix.com@localhost> +1 416 218-0099
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
-----END PGP SIGNATURE-----
Main Index |
Thread Index |