named-xfer errors

lpb at Starbase.NeoSoft.COM lpb at Starbase.NeoSoft.COM
Mon Apr 10 16:18:19 UTC 2000


Here's the ls -l:

/var/named/usr:                 drwx------   4 named    named        1024 
Mar 13 15:29 /var/named/usr
/var/named/usr/sbin:                    drwxr-x---  2 
named    named        1024 Mar  6 14:10 /var/named/usr/sbin
/var/named/usr/sbin/named-xfer: -rwxr-x---   1 root     named     1406967 
Mar  6 14:09 /var/named/usr/sbin/named-xfer

There is a debug setting in ns_maint.c/spawnxfer() that will print out the 
args, but it means i have to rebuild with -DDEBUG. I'd rather not, but if 
the problem isn't obvious I guess I have to.

It seems from reading the code that the vfork in spawnxfer should inherit 
the chroot from the -t. ?? !
I see you have your named linked to /usr/sbin. I didn't see any need to 
have another "copy" of named in /usr/sbin, since there's no reason for 
anyone but user "named" to run it, and then only in the "jail". I'm curious 
to know what would happen to YOUR environment if you took that link away.

At 11:02 04/10/2000 , you wrote:
--- Begin Original Message ---
>Is /var/named/usr/sbin/named-xfer executable for user named, group named??
>
>BTW, my named is started using:
>exec ndc -c /var/spool/named/var/run/ndc ${1+"$@"} -t /var/spool/named/ -u 
>named -g named
>
>and the "ps" output is:
>/usr/sbin/named -t /var/spool/named/ -u named -g named
>(/usr/sbin/named is a link to /var/spool/named/usr/sbin/named)
--- End Original Message --- 




More information about the bind-users mailing list