Package: sudo
Version: 1.7.4p4-2.squeeze.2

When I invoke programs through sudo (via cgi's) the executed
programs finish sucessfully, but sudo hangs forever waiting for
something. The executed program is left in a "zombie" process state
(marked as <defunc> in the output of ps) and the sudo process never
exits - it just hang. Here is how the the process list looks like,
for example:

# ps fauxx 
....
root      2560  0.0  0.0  23940  1372 ?        S    Apr21   0:00
/usr/bin/sudo -E /opt/xyz/etc/http/survey/cgi-bin/control.py
root      2562  0.0  0.0      0     0 ?        Z    Apr21   0:00  \_
[control.py] <defunct>
root      3921  0.0  0.0  23940  1372 ?        S    Apr21   0:00
/usr/bin/sudo -E /opt/xyz/etc/http/survey/cgi-bin/control.py
root      3923  0.0  0.0      0     0 ?        Z    Apr21   0:00  \_
[control.py] <defunct>
root      4174  0.0  0.0  23940  1368 ?        S    Apr21   0:00
/usr/bin/sudo -E /opt/xyz/etc/http/survey/cgi-bin/control.py
root      4176  0.0  0.0      0     0 ?        Z    Apr21   0:00  \_
[control.py] <defunct>
root      1166  0.0  0.0  23940  1372 ?        S    13:08   0:00
/usr/bin/sudo -E /opt/xyz/etc/http/survey/cgi-bin/control.py
root      1167  0.0  0.0      0     0 ?        Z    13:08   0:00  \_
[control.py] <defunct>

If i trace the system calls of the sudo command, i can see that sudo
waits endlessly in a select() system call which waits for file
descriptors, which are already closed and Sudo will therefore
wait forever.

This Bug only Occurs on Debian Squeeze+ (Lenny works fine)

This Bug is fixed in sudo 1.7.5 and and >1.8.0
(http://www.gratisoft.us/bugzilla/show_bug.cgi?id=447)

I am using Debian GNU/Linux 6.0, kernel 2.6.32-5-amd64 and libc6 2.11.2-10.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to