[nsd-users] nsd-4.0.0b3: reconfig

Andreas Schulze andreas.schulze at datev.de
Wed Jan 23 16:24:05 UTC 2013


Hi,

I run nsd supervised using "nsd -d" and chroot.

In this situation "nsc-control reconfig" gave me:
error /etc/nsd/nsd.conf is not relative to /chroot/nsd/: chroot prevents reread of config

To let the reconfig command be successfull I had to do two things:
 - copy the nsd.conf from /etc/nsd/nsd.conf to /chroot/nsd/etc/nsd/nsd.conf
 - tell nsd to use this file inside the chroot as configfile
   "nsd -d -c /chroot/nsd/etc/nsd/nsd.conf"

Is there a smarter way?

-- 
Andreas Schulze
Internetdienste | P252

DATEV eG
90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196
E-Mail info @datev.de | Internet www.datev.de
Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg Nr.70
Vorstand
Prof. Dieter Kempf (Vorsitzender)
Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender)
Dipl.-Kfm. Michael Leistenschneider
Dipl.-Kfm. Dr. Robert Mayr
Jörg Rabe v. Pappenheim
Dipl.-Vw. Eckhard Schwarzer
Vorsitzender des Aufsichtsrates: Reinhard Verholen



More information about the nsd-users mailing list