Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 499662

Summary: sys-apps/openrc: restart init process before remounting read-only
Product: Gentoo Hosted Projects Reporter: Nikoli <nikoli>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: CONFIRMED ---    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: patch

Description Nikoli 2014-01-29 09:14:05 UTC
Created attachment 369040 [details, diff]

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.