Re: Fixed strace [ was Re: ls -l is broken ]
On Sat, May 02, 2009 at 06:34:59PM -0400, John David Anglin wrote:
> Hi Kyle,
> > On Sun, Apr 06, 2008 at 07:09:59PM -0400, John David Anglin wrote:
> > > > If you strace it, what syscall returns -EOPNOTSUPP?
> > >
> > > strace is broken and quits before the relevant syscall. Think I
> > > mentioned this before is a different context.
> > >
> > Fixed & updated strace available at
> > http://people.debian.org/~kyle/strace/
> strace is either broken again or debian didn't pick up your fix. The link
> to your updated version is broken.
> This happens when tracing sshd during a connection attempt with -f option:
> strace -f -p 2390
> Process 2390 attached - interrupt to quit
> _newselect(7, [3 4], NULL, NULL, NULL
> [pid 5627] open("/etc/selinux/config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
> upeek: ptrace(PTRACE_PEEKUSER,5627,4294967292,0): Input/output error
> Process 5627 detached
> <... _newselect resumed> ) = 1 (in )
> Trying to figure out why sshd sometimes does wierd stuff.
I'll take a look, the strace link is broken because sadly the debian
people didn't migrate the entirety of the people machine when they
brought in a new one.