Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 346840 Details for
Bug 467368
sys-apps/openrc - stacked runlevels only work one level deep (and other fixes)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix run-level stacking (chaining) issues.
openrc-0.11.8-readonly_bind_mount.patch (text/plain), 717 bytes, created by
Max Hacking
on 2013-04-28 23:08:58 UTC
(
hide
)
Description:
Patch to fix run-level stacking (chaining) issues.
Filename:
MIME Type:
Creator:
Max Hacking
Created:
2013-04-28 23:08:58 UTC
Size:
717 bytes
patch
obsolete
>--- init.d/localmount.in 2012-12-07 16:53:28.000000000 +0100 >+++ init.d/localmount.in 2013-04-25 19:15:42.043727697 +0200 >@@ -30,6 +30,23 @@ > mount -at "$types" $no_netdev > eend $? "Some local filesystem failed to mount" > >+ # Remount any read-only bind-mounts so that they actually become read-only! >+ for m in `awk '/^\// { >+ split($4,opts,","); >+ bm = ro = na = 0; >+ for (i in opts) >+ { >+ ro = ro || (opts[i] == "ro"); >+ bm = bm || ((opts[i] == "bind") || (opts[i] == "rbind")); >+ na = na || (opts[i] == "noauto"); >+ } >+ if (bm && ro && !na) >+ print $2; >+ }' /etc/fstab` >+ do >+ mount -o remount "${m}" >+ done >+ > # Always return 0 - some local mounts may not be critical for boot > return 0 > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 467368
:
346656
|
346840
|
346842
|
346876