Somethings still up with new NSS?

Matt matt at xtaz.co.uk
Wed Apr 30 07:55:29 PDT 2003


Not sure if it is NSS related or not but it looks suspicious. When bind
starts it gets set to user/group bind as normal, but:

[root at tao named]# ps waux | grep named
bind    50019  0.0  0.8  2772 2120  ??  Ss    3:28PM   0:00.24
/usr/sbin/named -u bind -g bind

[root at tao named]# ndc reload
Reload initiated.

[root at tao named]# ps waux | grep named
bind    50019  0.0  0.8  2772 2120  ??  Ss    3:28PM   0:00.26
/usr/sbin/named -u bind -g bind

However /var/log/messages reports:
Apr 30 15:52:13 tao named[50019]: couldn't create pid file
'/var/run/named.pid'

[root at tao named]# ls -al /var/run/named.pid
-rw-r--r--  1 bind  bind  6 Apr 30 15:28 /var/run/named.pid

The file was created when I actually ran /usr/sbin/named -u bind -g bind
but an ndc reload seems to not setuid properly I guess?

-- 
email: matt at xtaz.co.uk - web: http://xtaz.co.uk/
Hardware, n.: The parts of a computer system that can be kicked.


More information about the freebsd-current mailing list