[nsd-users] minor issues while building nsd
W.C.A. Wijngaards
wouter at nlnetlabs.nl
Thu Jan 22 09:39:36 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Uwe,
On 21/01/15 17:04, Uwe Kleine-König wrote:
> Hello,
>
> just a quick lists of issues I found while compiling nsd myself
> for testing Wouter's fix for the bug I reported.
>
> - When flex/bison are not installed during ./configure this just
> results in:
>
> ... checking for bison... no checking for byacc... no
>
> but no failure. It would be nice to catch that at configure time.
This is because for the released packages, the flex/bison generated
files are included (and are used if flex and bison are missing). So
it is not an error for released packages.
> - if /var/db/nsd doesn't exist
>
> sudo ./nsd -c ../nsd.conf
>
> exists with status 0 and no error message. If nsd would exit with
> != 0 an init script could catch such an error. Not sure if this is
> easy enough to be feasible to implement.
NSD forks into the background before it chroots or chdirs, and this
causes the error to be printed later. nsd-checkconf tests errors in
configuration before the daemon is started.
Best regards,
Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJUwMVUAAoJEJ9vHC1+BF+NQWsP/iwNZuw1Nk1BTomFiM5Y48J2
qPuYJO9wU7VvGS6mjWDXhInP2/t1XjqIab+VTKvjd4HjDKW0nrc7YQcguzBpK0wG
lIJCtOtjPhABVV0bbipAXcUjLOFHRzs/lUz4CcaNd+2QkSh3uRBRFaj7tmVBIU1n
uEX/ahsDdQCTruU46KdWQNXzoqO7bN/j/TINFChaCqWLnWRbLsqj6w5Hh6PxWnSp
lFz4zae5d5H41gPM3B8fWsvQ7YeQqWEvHx3pm/rmC/K+vrwxhO7NaiFIdXuv9IZb
8e4YzTwvzcLYKtyubAnm6e7onuob6bGqogO2kmC6GEM8zEbFNRbN3biGqqBA/JXB
xxEI4HmXonJ6ygn+w1AwkC1Zrw8t6tvQ3gBeI45DTVLERWCwklD3HdweTePud+lO
7iGk/4LzwccRHnbOD8xUls70D3ERj07hO0f8T6bdX2LXXLAVM1hXu8n6INeVZ4T8
V5hIVUdFWfzq6eaNe/VLbIDf6G4BsvJvFzIGaOmUbDWC/GKtDXxa0jApG2iaMyyV
yMTPHqEEhTOdse+T+8zwkSsJJICk2lyrzIPbYJ1XPWywUaf7hPkU+ZuG901wsVC5
8N6qV8oYUKmrZy02LfN3fiBfwW9IMvw2iNBcBvDeQXtAgkQCnHK3aud116UdkbjV
ZxIC5TeZedDE/xVSIbz7
=udj9
-----END PGP SIGNATURE-----
More information about the nsd-users
mailing list