NetBSD-Bugs archive
[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
--pgp-sign-Multipart_Sat_Apr_25_21:09:28_2009-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
At Mon, 20 Apr 2009 12:59:51 -0400, christos%zoulas.com@localhost (Christos
Zoulas) w=
rote:
Subject: re: bin/41252: named pid file has moved
>=20
> On Apr 21, 2:33am, mrg%eterna.com.au@localhost (matthew green) wrote:
> -- Subject: re: bin/41252: named pid file has moved
>=20
> | =20
> | * Change the built-in default back to /var/run/named.pid.
> |=20
> |=20
> | yes please.
> |=20
> |=20
> | .mrg.
>=20
> The reason they changed this is:
>=20
> 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.
>=20
> This allows the owner of the containing directory
> to be set, for "named -u" support, and allows the=
re
> 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.
--=20
Greg A. Woods
Planix, Inc.
<woods%planix.com@localhost> +1 416 218-0099
http://www.planix.com/
--pgp-sign-Multipart_Sat_Apr_25_21:09:28_2009-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
iD8DBQBJ87RIZn1xt3i/9H8RAn9JAJ9auobOvme/SqPOjiI1G3CYETjXuQCfdeIg
CBiM7cu04arI7cCC+B6YmsA=
=39t/
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Sat_Apr_25_21:09:28_2009-1--
Home |
Main Index |
Thread Index |
Old Index