On Sat, Apr 15, 2006 at 10:27:32PM +0000, Andy Smith wrote: > > On Fri, Apr 14, 2006 at 03:58:09PM +0000, Andy Smith wrote: > > > Okay, I'm now running: > > > > > > $ sudo strace -ff -o /var/log/ssh-strace/ssh-strace.log /usr/sbin/sshd > > Unfortunately now whenever I log in via an sshd that is running > under strace, none of my setuid binaries work. Um, yea, that would break .. its mentioned in the strace manpage BUGS section.
> For sudo this is a > showstopper: all I get is "sudo: must be setuid root". Since I > still need to use this machine I've had to stop running sshd under > strace. :( What about strace without -f? I just tested with strace -o /dev/null sh, and I am still able to run sudo. It isn't clear to me whether this will catch the problem; it depends on the server crashing (you said it did, no?) and sshd not forking before it tries to read urandom. > If anyone is interested in debugging this I can set you up a 64M > etch xen domain that you have root access to and you can do what you > like to it to try and get to the bottom of this. I'm not sure I would know what to try .. Thanks Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]