Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 285921 Details for
Bug 381783
sys-apps/openrc-0.9.2: doesn't remount read-only root on shutdown
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Fixed mount-ro initscript
mount-ro (text/plain), 948 bytes, created by
i.Dark_Templar
on 2011-09-09 09:24:18 UTC
(
hide
)
Description:
Fixed mount-ro initscript
Filename:
MIME Type:
Creator:
i.Dark_Templar
Created:
2011-09-09 09:24:18 UTC
Size:
948 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright (c) 2007-2009 Roy Marples <roy@marples.name> ># Released under the 2-clause BSD license. > >description="Re-mount filesytems read-only for a clean reboot." > >depend() >{ > need killprocs savecache > keyword -prefix -openvz -vserver -lxc >} > >start() >{ > # Flush all pending disk writes now > sync; sync > > ebegin "Remounting remaining filesystems read-only" > # We need the do_unmount function > . "$RC_LIBEXECDIR"/sh/rc-mount.sh > eindent > local m="/dev|/dev/.*|/proc|/proc.*|/sys|/sys/.*|`readlink -e ${RC_SVCDIR}`" x= fs= > m="$m|/bin|/sbin|/lib|/libexec" > # RC_NO_UMOUNTS is an env var that can be set by plugins > local IFS="$IFS:" > for x in $no_umounts $RC_NO_UMOUNTS; do > m="$m|$x" > done > m="^($m)$" > fs= > for x in $net_fs_list $extra_net_fs_list; do > fs="$fs${fs:+|}$x" > done > [ -n "$fs" ] && fs="^($fs)$" > do_unmount "umount -r" \ > --skip-point-regex "$m" \ > ${fs:+--skip-fstype-regex} $fs --nonetdev > eoutdent > eend $? >}
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 Raw
Actions:
View
Attachments on
bug 381783
:
285919
|
285921
|
285925
|
285927
|
286079
|
286123
|
286125