Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98667 - halt.sh reports errors on "Remounting remaining filesystems readonly" and prompts for root password with readonly root
Summary: halt.sh reports errors on "Remounting remaining filesystems readonly" and pro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-11 06:34 UTC by Patrick McLean
Modified: 2005-07-11 07:31 UTC (History)
0 users

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


Attachments
patch to make umount use -n so it won't try to update mtab (halt-try-umount.patch,385 bytes, patch)
2005-07-11 06:36 UTC, Patrick McLean
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McLean gentoo-dev 2005-07-11 06:34:51 UTC
halt.sh will report errors and prompt for the root password when the root
filesystem is mounted readonly, umount will try to update mtab, and fail so the
system will think there is an initscript error and prompt for the root password
for system maintenance.

Reproducible: Always
Steps to Reproduce:
Comment 1 Patrick McLean gentoo-dev 2005-07-11 06:36:12 UTC
Created attachment 63142 [details, diff]
patch to make umount use -n so it won't try to update mtab

Attaching a patch makes the script pass umount the -n flag so it won't try to
update mtab, there is no point in updating it at this point anyway, the system
is either about to reboot or shut off.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-11 07:27:56 UTC
Wonder if its not a typo, as it should not be -r -r ...
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-11 07:31:59 UTC
Fixed in svn, thanks.