Bugzilla – Bug 431
sudo -s in 1.7.4 with HAVE_PAM forks and waits but child bash hung after suspend
Last modified: 2010-09-14 16:41:21 MDT
HAVE_PAM activates CMND_WAIT which causes a fork/exec rather than a pure exec. When I "suspend" the resulting bash session and try "fg" to bring it back, the sudo continues, but the bash remains stopped. If I SIGCONT the bash, it works fine until the next suspend.
Created attachment 287 [details] Patch to pass on SIGCONT when sudo resumes after suspend I've attached a patch which fixes this. It will be part of sudo 1.7.5.
Fixed in sudo 1.7.4p4