Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 287947 Details for
Bug 384151
sys-apps/openrc autodetect lxc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/tmp/auto-lxc.patch
auto-lxc.patch (text/plain), 385 bytes, created by
William Hubbs
on 2011-09-27 15:16:26 UTC
(
hide
)
Description:
/tmp/auto-lxc.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2011-09-27 15:16:26 UTC
Size:
385 bytes
patch
obsolete
>diff --git a/src/librc/librc.c b/src/librc/librc.c >index 98765d8..c66c944 100644 >--- a/src/librc/librc.c >+++ b/src/librc/librc.c >@@ -281,6 +281,8 @@ rc_sys_v1(void) > else if (file_regex("/proc/self/status", > "envID:[[:space:]]*[1-9]")) > return RC_SYS_OPENVZ; /* old test */ >+ else if (file_regex("/proc/1/environ", "container=lxc")) >+ return RC_SYS_LXC; > #endif > > return NULL;
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 384151
: 287947