Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495284 - bootmisc and swap init scripts need "need root" dependency to make sure that drives are mounted read-write before trying to access them for temp file system actions
Summary: bootmisc and swap init scripts need "need root" dependency to make sure that ...
Status: RESOLVED DUPLICATE of bug 494252
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-12-25 06:44 UTC by three sixes
Modified: 2013-12-25 15:15 UTC (History)
0 users

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


Attachments
bootmisc.patch (bootmisc.patch,238 bytes, patch)
2013-12-25 06:46 UTC, three sixes
Details | Diff
swap.patch (swap.patch,206 bytes, patch)
2013-12-25 06:47 UTC, three sixes
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description three sixes 2013-12-25 06:44:49 UTC
bootmisc needs "need root" dependency to make sure that drives are mounted read-write before trying to access them for temp file system actions.  same story for swap for those of us using a swap file rather than a swap partition.  in that exact situation, it results in a broken boot landing you to bash with a read only file system.  (regardless if you want it read only or not)

Reproducible: Sometimes

Steps to Reproduce:
1. install gentoo with JFS + swap file rather than partition.
Actual Results:  
ugly nightmare.

Expected Results:  
fresh shiny gentoo.
Comment 1 three sixes 2013-12-25 06:46:46 UTC
Created attachment 366142 [details, diff]
bootmisc.patch

add need root to ensure RW mounting immediately after fsck
Comment 2 three sixes 2013-12-25 06:47:15 UTC
Created attachment 366144 [details, diff]
swap.patch
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-25 15:15:15 UTC

*** This bug has been marked as a duplicate of bug 494252 ***