Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 264599 Details for
Bug 357247
sys-apps/openrc-0.7.0 vserver guests fails to boot with rc_sys=""
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use rc_sys_v1() when rc_sys variable is defined but empty
0001-Use-rc_sys_v1-when-rc_sys-variable-is-defined-but-em.patch (text/plain), 717 bytes, created by
Natanael Copa
on 2011-03-03 18:35:42 UTC
(
hide
)
Description:
Use rc_sys_v1() when rc_sys variable is defined but empty
Filename:
MIME Type:
Creator:
Natanael Copa
Created:
2011-03-03 18:35:42 UTC
Size:
717 bytes
patch
obsolete
>From 9b7f57c47e1a5c73d22a0f5bff132c702e6f352b Mon Sep 17 00:00:00 2001 >From: Natanael Copa <ncopa@alpinelinux.org> >Date: Thu, 3 Mar 2011 18:16:50 +0000 >Subject: [PATCH] Use rc_sys_v1() when rc_sys variable is defined but empty. > >This makes current vserver boot >--- > src/librc/librc.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/src/librc/librc.c b/src/librc/librc.c >index e134547..8292f6e 100644 >--- a/src/librc/librc.c >+++ b/src/librc/librc.c >@@ -292,7 +292,8 @@ librc_hidden_def(rc_sys_v1) > const char * > rc_sys(void) > { >- if (rc_conf_value("rc_sys")) { >+ char *val = rc_conf_value("rc_sys"); >+ if (val && *val) { > return rc_sys_v2(); > } else { > return rc_sys_v1(); >-- >1.7.4.1 >
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 357247
:
264599
|
264751
|
264781
|
265029
|
265525
|
265805