Red Hat Bugzilla – Bug 150100
[patch] man, and other commands requiring temp files, don't work in Repair Filesystem mode
Last modified: 2014-03-16 22:52:33 EDT
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):
Steps to Reproduce:
1. Corrupt your filesystem ;-)
3. fsck fails and rc.sysinit brings you to Repair Filesystem mode
4. type "man script"
Nothing is displayed
man page for "script" should be displayed
Created attachment 111578 [details]
Created attachment 111579 [details]
This covers all three code paths that can enter some sort of "repair mode".
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.