Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 291364 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- a/src/librc/librc.c      2010-12-08 05:32:44.000000000 +0100
0
++ b/src/librc/librc.c 2010-12-21 20:57:12.744297767 +0100
Lines 233-239 Link Here
233
               return RC_SYS_VSERVER;
233
               return RC_SYS_VSERVER;
234
       else if (exists("/proc/vz/veinfo") && !exists("/proc/vz/version"))
234
       else if (exists("/proc/vz/veinfo") && !exists("/proc/vz/version"))
235
               return RC_SYS_OPENVZ;
235
               return RC_SYS_OPENVZ;
236
       else if (file_regex("/proc/self/cgroup", ":/.+$"))
236
       else if (file_regex("/proc/self/cgroup", ":/.+$") && ! (exists("/proc/user_beancounters") || exists("/proc/bc")))
237
               return RC_SYS_LXC;
237
               return RC_SYS_LXC;
238
       else if (file_regex("/proc/self/status",
238
       else if (file_regex("/proc/self/status",
239
               "envID:[[:space:]]*[1-9]"))
239
               "envID:[[:space:]]*[1-9]"))

Return to bug 291364