can't exec /usr/sbin/named-xfer: Permission denied
Kevin Darcy
kcd at daimlerchrysler.com
Mon Mar 26 20:34:50 UTC 2001
Linux has a system-call tracer, doesn't it? "strace" or something like that? Fire that up to
determine *exactly* what named is trying to execute.
By the way, can you run that named-xfer binary while *manually* chroot()'ed?
- Kevin
Brian Elliott Finley wrote:
> Still having the same issues. Any one have another suggestion?
>
> -Brian
>
> Thus spake Brian Finley (Home) (brian at thefinleys.com):
>
> > Thus spake Jim Reid (jim at rfc1035.com):
> >
> > > >>>>> "Brian" == Brian Elliott Finley <brian at thefinleys.com> writes:
> > >
> > > Brian> named works fine, but named-xfer consistently farts with
> > > Brian> this message:
> > >
> > > Brian> "can't exec /usr/sbin/named-xfer: Permission denied"
> > >
> > >
> > > Brian> named is started with this command:
> > >
> > > Brian> "/usr/sbin/named -d 3 -u bind -g bind -t /chrootd/bind"
> > >
> > > Brian> What am I missing?
> > >
> > > Try making sure /usr/bin/named-xfer lives in you chroot jail
> >
> > $ ls -l /chrootd/bind/usr/sbin/named-xfer
> > -rwxr-xr-x 1 root root 203004 Nov 11 17:11 /chrootd/bind/usr/sbin/named-xfer
> >
> > > and has
> > > sufficient execute permission for the uid bind.
> >
> > Yup.
> >
> > > And make sure that
> > > named-xfer has proper access permissions to write any zone files it
> > > transfers into the chroot jail.
> >
> > I've even tried doing a "chown -R bind.bind /chrootd/bind/*" to be
> > sure...
> >
> > Same error.
> >
> > -Brian
> >
> >
> >
> >
> >
> > --
> > -------------------------------------------------------
> > Brian Elliott Finley VA Linux http://valinux.com/
> > http://thefinleys.com/ phone: 972.447.9563
> > http://systemimager.org/ phax: 801.912.6057
> > CSA, C2000, CNE, CLSE, MCP, and Certifiable Linux Nut
> > -------------------------------------------------------
>
> --
> -------------------------------------------------------
> Brian Elliott Finley VA Linux http://valinux.com/
> http://thefinleys.com/ phone: 972.447.9563
> http://systemimager.org/ phax: 801.912.6057
> CSA, C2000, CNE, CLSE, MCP, and Certifiable Linux Nut
> -------------------------------------------------------
More information about the bind-users
mailing list