Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334511 - app-admin/sudo-1.7.4_p3 - sudo -s with HAVE_PAM forks and waits but child bash hung after suspend
Summary: app-admin/sudo-1.7.4_p3 - sudo -s with HAVE_PAM forks and waits but child bas...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://www.gratisoft.us/bugzilla/show...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 23:10 UTC by Scott Bertilson
Modified: 2010-10-12 13:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Bertilson 2010-08-25 23:10:42 UTC
When resumed, sudo resumes, but SIGCONT not seen by child bash, so bash remains suspended.
URL is to upstream bug report and fix.

Reproducible: Always

Steps to Reproduce:
1.sudo -s
2.suspend
3.fg

Actual Results:  
Keyboard echos typing, but bash is still stopped.  Sending SIGCONT to bash gets it working again until next "suspend".

Expected Results:  
bash should be allowed to see the SIGCONT.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-12 13:10:10 UTC
Considering this fixed as it's in p4 (and I'm going to ask stable of that in a moment).