[nsd-users] Confusing error message from zonec
Matthijs Mekking
matthijs at NLnetLabs.nl
Thu May 29 07:53:33 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Shane,
This was mentioned earlier in the bugzilla system.
It is already fixed in the trunk, and will appear in the next release.
- - Matthijs
Shane Kerr wrote:
> All,
>
> I ran zonec today and had a confusing error message:
>
> shane at app2.lab1:~/dnssec> ~/nsec3/sbin/zonec -c ./nsd.conf -z db.org.signed
> [1211985210] zonec[24089]: notice: changed directory to /home/shane/dnssec
> zonec: must have -z zonefile when reading single zone.
>
> The only thing this command line *does* have is a "-z zonefile" flag!
>
> It turns out I was missing the "-o" option. Here's a patch which fixes
> the output.
>
> --
> Shane
>
> --- zonec.c.orig 2008-04-18 08:39:45.000000000 +0000
> +++ zonec.c 2008-05-28 14:46:15.000000000 +0000
> @@ -1475,7 +1475,7 @@
> /*
> * Read a single zone file with the specified origin
> */
> - if(!singlefile || !origin) {
> + if(!singlefile) {
> fprintf(stderr, "zonec: must have -z zonefile when reading
> single zone.\n");
> exit(1);
> }
> _______________________________________________
> nsd-users mailing list
> nsd-users at NLnetLabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIPmD9IXqNzxRs6egRAiEeAJ0SCt7zkuABsXOeoBhE/Z17EmEuPQCeKsjX
IfnRWgieBOMXb42Hzso2BE4=
=vbkd
-----END PGP SIGNATURE-----
More information about the nsd-users
mailing list