Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 257770 Details for
Bug 349389
>sys-apps/openrc-0.5.2: rc detects RHEL6 OpenVZ Host as LXC container
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes an issue with RHEL6 OpenVZ kernel being detected as LXC Container
lxc-openvz-detection.patch (text/plain), 606 bytes, created by
Oliver Schmidt
on 2010-12-22 16:21:13 UTC
(
hide
)
Description:
Fixes an issue with RHEL6 OpenVZ kernel being detected as LXC Container
Filename:
MIME Type:
Creator:
Oliver Schmidt
Created:
2010-12-22 16:21:13 UTC
Size:
606 bytes
patch
obsolete
>--- a/src/librc/librc.c 2010-12-08 05:32:44.000000000 +0100 >+++ b/src/librc/librc.c 2010-12-21 20:57:12.744297767 +0100 >@@ -233,7 +233,7 @@ > return RC_SYS_VSERVER; > else if (exists("/proc/vz/veinfo") && !exists("/proc/vz/version")) > return RC_SYS_OPENVZ; >- else if (file_regex("/proc/self/cgroup", ":/.+$")) >+ else if (file_regex("/proc/self/cgroup", ":/.+$") && ! (exists("/proc/user_beancounters") || exists("/proc/bc"))) > return RC_SYS_LXC; > else if (file_regex("/proc/self/status", > "envID:[[:space:]]*[1-9]"))
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 349389
: 257770