can't exec /usr/sbin/named-xfer: Permission denied

Brian Elliott Finley brian at thefinleys.com
Wed Mar 28 00:58:02 UTC 2001


Thus spake Kevin Darcy (kcd at daimlerchrysler.com):

> 
> Brian Elliott Finley wrote:
> 
> > Thus spake Kevin Darcy (kcd at daimlerchrysler.com):
> >
> > >
> > > 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.
> >
> > I have run it (and named-xfer) successfully by hand.  The problem is
> > trying to get named to invoke strace when it automatically invokes
> > named-xfer.
> 
> Doesn't strace have a "follow" option, like Solaris truss'es "-f" option, i.e. follow child
> processes?

Yes.  Below is the output from:
"strace -f -F -o/tmp/strace /usr/sbin/named -u bind -g bind -t /chrootd/bind"

<<< relevant output -- one long line >>>
19847 execve("/usr/sbin/named-xfer", ["/usr/sbin/named-xfer", "-z", "nylug.org", "-f", "/var/cache/bind/db.nylug.org", "-i", "/var/cache/bind/db.nylug.org.ixf"..., "-C", "1", "-P", "13568", "-T", "nylug.org.19558", "12.33.122.126", "axfr"], [/* 19 vars */]) = -1 EACCES (Permission denied)

> By the way, you indicated that you're running an exploitable version (8.2.2-p7). 

I've gone ahead and upgraded.  Still having this problem, though.

Thanks for everyone's help, by the way...

-Brian


More information about the bind-users mailing list