Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499662 - sys-apps/openrc: restart init process before remounting read-only
Summary: sys-apps/openrc: restart init process before remounting read-only
Status: CONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL: https://plus.google.com/+LennartPoett...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-01-29 09:14 UTC by Nikoli
Modified: 2018-10-28 18:13 UTC (History)
0 users

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


Attachments
patch (0001-Restart-init-before-remounting-read-only.patch,575 bytes, patch)
2014-01-29 09:14 UTC, Nikoli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2014-01-29 09:14:05 UTC
Created attachment 369040 [details, diff]
patch

After '/etc/init.d/killprocs start' some removed or replaced files still can be used by init process, '/etc/init.d/mount-ro start' should run 'telinit u' to avoid this problem.
Comment 1 William Hubbs gentoo-dev 2014-01-29 21:16:56 UTC
The issue with this patch is that it creates a hard dependency on
sysvinit, which is not the case right now for OpenRC, so I'm not really
comfortable using it.

The post from Lennart is interesting though, and it does bring up
interesting issues that need to be addressed.
Comment 2 Mike Gilbert gentoo-dev 2018-10-28 18:13:43 UTC
I have proposed an alternate solution in bug 642858.