Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 316735 Details for
Bug 423739
sys-apps/openrc-0.10.3 fails to use /run properly in linux-vserver
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
run-vserver.patch
run-vserver.patch (text/plain), 822 bytes, created by
William Hubbs
on 2012-06-30 06:35:44 UTC
(
hide
)
Description:
run-vserver.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2012-06-30 06:35:44 UTC
Size:
822 bytes
patch
obsolete
>diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in >index 5daa1bb..9ad764e 100644 >--- a/sh/init.sh.Linux.in >+++ b/sh/init.sh.Linux.in >@@ -37,14 +37,23 @@ fi > > # /run is a new directory for storing volatile runtime data. > # Read more about /run at https://lwn.net/Articles/436012 >+sys="$(rc --sys)" >+ > if [ ! -d /run ]; then >- eerror "The /run directory does not exist. Unable to continue." >- return 1 >+ if [ "$sys" = "vserver" ]; then >+ if [ -e /run ]; then >+ rm -rf /run >+ fi >+ mkdir /run >+ else >+ eerror "The /run directory does not exist. Unable to continue." >+ return 1 >+ fi > fi > >-if mountinfo -q /run; then >- einfo "/run is already mounted, skipping" >-else >+if [ "$sys" = "vserver" ]; then >+ rm -rf /run/* >+elif ! mountinfo -q /run; then > ebegin "Mounting /run" > rc=0 > if ! fstabinfo --mount /run; then
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 423739
: 316735 |
316775