Thomas Hood wrote: > Package: pdns-server > Version: 2.9.18-4 > > I installed the latest pdns-server package and compared the resolvconf-update > script in the package with the script that I submitted to bug report #304528. > [..] > > The longer PATH is unnecessary because the script only needs programs > available in /bin and /sbin. Programs under /usr/ are, or should be, > unneeded. These may be on network drives and the resolvconf infrastructure > has to work before network drives are mounted. This is a minor issue so > I don't open a separate bug report for it. > Did you try the script, I mean restarting /etc/init.d/pdns-recursor restart ?
> The following issue is more serious. > > A dynamic configuration file should not be kept under /etc/. This is a > stipulation of the FHS and is motivated by the goal of making it possible > to mount the root filesystem read-only. The file should be kept somewhere > meant for dynamic files. > > I suggest using /run/powerdns/. The directory /run would be included > in the package. The subdirectory /run/powerdns would be created by the > update script if and when it is needed: > > RUN_DIR=/run/powerdns > [ -d "$RUN_DIR" ] || mkdir "$RUN_DIR" || exit 1 > Hm, ok, isn't it better to put it in /var/run/powerdns ? > The pdns server program should use this file if it is present and should > proceed happily if the file and/or its directory does not exist. Thanks for reporting. Regards, Matthijs Mohlmann -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

