NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Namedb still using named.pid link?



Netbsd-users,
I just got named up and running on my NetBSD box. I found using chroot was easy to use too, good job NetBSD. When it came time to restart named I typed /etc/rc.d/named stop (as root). I got "named not running? (check /var/run/named.pid)." After checking things out named was indeed running, /var/chroot/named/var/run/named.pid did exist, but there was no /var/run/named.pid. I checked on line and found http://www.daemonnews.org/200110/named-chroot.html which states:

NetBSD 1.5.2 and older has a bug in /etc/rc.subr that prevents it from looking for the PID-file in the right place when
   chroot is used. We simply place a symlink to work around this bug:
   ln -s ~named/var/run/named.pid /var/run/named.pid

I tried this and it works. So my question is did I set something up wrong or does NetBSD still need this work around? I figure I missed something, more likely, so what is it?
Thank you,
Glen Johnson


Home | Main Index | Thread Index | Old Index