Potential regression in -git15: can't resume stopped root shell?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Theodore Tso
Date: Saturday, October 20, 2007 - 11:58 am

I was testing 2.6.23-git15, and I'm noticing that if I su to root, then
suspend the root shell, and try continue it via "fg", it hangs.  The ps
command reports:

15806  6386  19   0  4012 wait                 Ss   pts/0    00:00:00 bash
    0  6444  19   0  1232 finish_stop          T+   pts/0    00:00:00 /bin/su -p
    0  6445  19   0  3696 finish_stop          T    pts/0    00:00:00 bash
15806  6571  19   0   776 pipe_wait            S+   pts/1    00:00:00 grep pts/0

This works under 2.6.23.  I am running Ubuntu Gutsy running in a
gnome-terminal, with bash as my login shell.  I can suspend a zsh or
bash shell where I haven't su'ed to root.  But if the shell is started
using either su or sudo, when I try to resume it after suspending
using the "suspend" command via "fg", I get a hung shell.

I haven't had time to bisect it yet, but I thought I'd throw it out
there in case this rings a bell with anybody...

					    - Ted
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Potential regression in -git15: can't resume stopped root ..., Theodore Tso, (Sat Oct 20, 11:58 am)