su problem with 4.4.93

steve houseman steve at houseman.demon.co.uk
Thu Jan 23 07:09:05 UTC 2003


Hello,

4.4.93 fixes the vfork prob with 4.4.92.
So goes a little further with the strace of wine install.
It has some problem with an su issued by wine to do a make.
I enter the root password and it then says sorry(!) .
The install for wine must be run as user, so I run using either

jackass:/usr/src/wine-20021125 #/usr/local/bin/strace -o/tmp/dbin8 -f
-F -tt -v -u steve  tools/wineinstall
or as
jackass:/usr/src/wine-20021125 #/usr/local/bin/strace -o/tmp/dbin10  -f -F
-tt -v su steve  -c  tools/wineinstall

and get same result.

this worked fine with 4.4.2 ... I cant see what could make the
difference (but I've never got into the fine detail of uids/euids etc).
I have put the two trace files on

www.houseman.demon.co.uk/straceprob.tgz

this is ~1.4MB !

One obvious indication of a problem is that shortly after the
execve of su, it does a readlink of /proc/self/fd/0
which fails with EACCES on the bad one and succeeds on the good!

I would appreciate knowing the reason for this (assuming it isnt
some almighty stupidity on my part :-)

on kernel 2.4.18 on athlon.

Let me know if there's any other info you need .

Cheers,

Steve Houseman

-- 

currently  :                     | for strace, an annotator see -
steve at houseman demon co uk    | http://www.houseman.demon.co.uk/






More information about the Strace-devel mailing list