Bug 150100

Summary: [patch] man, and other commands requiring temp files, don't work in Repair Filesystem mode
Product: [Fedora] Fedora Reporter: Robin Green <greenrd>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: rvokal
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: 2005-10-03 20:54:22 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:
Attachments:
Description Flags
one-line patch
none
Better patch none

Description Robin Green 2005-03-02 15:20:35 UTC
Description of problem:
Commands like man don't work in Repair Filesystem mode, because /tmp is normally
on a read-only filesystem, namely /
Attached one-liner fixes this issue.

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

How reproducible:
Every time

Steps to Reproduce:
1. Corrupt your filesystem ;-)
2. Reboot
3. fsck fails and rc.sysinit brings you to Repair Filesystem mode
4. type "man script"
  
Actual results:
Nothing is displayed

Expected results:
man page for "script" should be displayed

Comment 1 Robin Green 2005-03-02 15:20:36 UTC
Created attachment 111578 [details]
one-line patch

Comment 2 Robin Green 2005-03-02 16:01:12 UTC
Created attachment 111579 [details]
Better patch

This covers all three code paths that can enter some sort of "repair mode".

Comment 3 Bill Nottingham 2005-10-03 20:54:22 UTC
Apologies for the lack of response.

I'm not sure this is a great idea, as it changes the view of the filesystem
you're repairing from normal, and doesn't give any indication that that space is
not going to be preserved to the next boot. Hence, WONTFIX.