Bug 125407

Summary: top doesn't restore terminal in case /proc is not mounted
Product: [Fedora] Fedora Reporter: Florian La Roche <laroche>
Component: procpsAssignee: Karel Zak <kzak>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: albert
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-14 13:55:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 123268    
Attachments:
Description Flags
do stat("/proc/self"...) before startup
none
check if /proc exists none

Description Florian La Roche 2004-06-06 13:42:27 UTC
Description of problem:

Run top without /proc being mounted and you will have to
type "reset" before seeing your terminal input again.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Walsh 2004-06-09 18:31:37 UTC
Two questions Which version?

How do you get /proc unmounted?
umount /proc/
umount: /proc: device is busy
umount: /proc: device is bus

Comment 2 Florian La Roche 2004-06-11 07:48:39 UTC
chroot environment, so umounting /proc is not a problem.
Version is FC3 devel as of the report day.

Comment 3 Karel Zak 2004-09-14 12:23:53 UTC
Created attachment 103823 [details]
do stat("/proc/self"...) before startup

Comment 4 Karel Zak 2004-09-14 12:41:33 UTC
Ooops, stupid bug in stupid patch.. if you want use following patch
rather than previous 103823.

Comment 5 Karel Zak 2004-09-14 12:44:40 UTC
Created attachment 103824 [details]
check if /proc exists

Comment 6 Rik van Riel 2004-09-27 21:46:40 UTC
Albert, this may be an interesting bug for you, in case it's not fixed
in your tree yet...

Comment 7 Daniel Walsh 2004-09-28 17:42:55 UTC
Fixed in procps-3.2.3-5