Bug 125407 - top doesn't restore terminal in case /proc is not mounted
Summary: top doesn't restore terminal in case /proc is not mounted
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: procps
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: FC3Target
TreeView+ depends on / blocked
 
Reported: 2004-06-06 13:42 UTC by Florian La Roche
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-10-14 13:55:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
do stat("/proc/self"...) before startup (826 bytes, patch)
2004-09-14 12:23 UTC, Karel Zak
no flags Details | Diff
check if /proc exists (1006 bytes, patch)
2004-09-14 12:44 UTC, Karel Zak
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.