Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 342306 Details for
Bug 427998
sys-apps/openrc: The root script does not work correctly if root or any filesystems it remounts are nfs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for root init script (NFS /)
root_init_script_openrc-0.11.8_pchrist_16Mar13.patch (text/plain), 942 bytes, created by
Panagiotis Christopoulos (RETIRED)
on 2013-03-16 22:19:31 UTC
(
hide
)
Description:
patch for root init script (NFS /)
Filename:
MIME Type:
Creator:
Panagiotis Christopoulos (RETIRED)
Created:
2013-03-16 22:19:31 UTC
Size:
942 bytes
patch
obsolete
>--- a/etc/init.d/root 2013-01-27 17:07:30.000000000 +0200 >+++ b/etc/init.d/root 2013-03-16 23:48:25.000000000 +0200 >@@ -21,9 +21,20 @@ > rm -f /fastboot /forcefsck > else > ebegin "Remounting root filesystem read/write" >+ local nfs_root="$(awk '!/^[[:space:]]*#/ && ($2 == "/") \ >+ && ($3 == "nfs" || $3 =="nfs4" ) \ >+ {printf("%s %s\n", $1, $2)}' \ >+ /etc/fstab)" > case "$RC_UNAME" in > Linux) >- mount -n -o remount,rw / >+ if [[ -n "${nfs_root}" ]]; then >+ einfo "Found NFS rootfs(${nfs_root})." >+ einfo "Trying to remount NFS / read-write ..." >+ mount -n ${nfs_root} -o remount,rw >+ else >+ mount -n -o remount,rw / >+ fi >+ > ;; > *) > mount -u -o rw / >@@ -37,7 +48,7 @@ > ;; > esac > >- ebegin "Remounting filesystems" >+ ebegin "Remounting other (!=\"/\") filesystems" > local mountpoint > for mountpoint in $(fstabinfo); do > case "${mountpoint}" in
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 427998
: 342306