Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 300471 Details for
Bug 401573
sys-apps/openrc: If /usr is mount and is read-only, remount it into into read-write
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch v2
openrc-usr-rw.patch (text/plain), 841 bytes, created by
Piotr Karbowski (RETIRED)
on 2012-01-30 21:15:32 UTC
(
hide
)
Description:
patch v2
Filename:
MIME Type:
Creator:
Piotr Karbowski (RETIRED)
Created:
2012-01-30 21:15:32 UTC
Size:
841 bytes
patch
obsolete
>From 6ee45e1a302f066591fd555dc8391a6b2630a9d0 Mon Sep 17 00:00:00 2001 >From: Piotr Karbowski <piotr.karbowski@gmail.com> >Date: Mon, 30 Jan 2012 22:13:14 +0100 >Subject: [PATCH] If /usr is mount and is read-only, remount it into into > read-write. > >--- > init.d/localmount.in | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >diff --git a/init.d/localmount.in b/init.d/localmount.in >index 3fbc071..a2bf167 100644 >--- a/init.d/localmount.in >+++ b/init.d/localmount.in >@@ -24,6 +24,12 @@ start() > no_netdev="-O no_netdev" > fi > ebegin "Mounting local filesystems" >+ >+ # if /usr is mountpoint and is mounted read-only, remount it read-write. >+ if mountinfo -q /usr && mountinfo -q -o ro /usr; then >+ mount -o remount,rw /usr >+ fi >+ > mount -at "$types" $no_netdev > eend $? "Some local filesystem failed to mount" > >-- >1.7.8.4 >
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 401573
:
300467
|
300471
|
300485
|
300487
|
300489
|
300553
|
300879
|
301041