diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2011-01-05 22:03:43 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2011-01-05 22:09:34 -0800 |
commit | 09f990a7c835d75f67cfe696a35e8c46e67c612f (patch) | |
tree | da69536cd225bad4028b01e88a0629bdca472dc1 /etc/rc.conf.Linux | |
parent | 6df531d33d0f3c3cad8edcafdcd62525ca30fc1f (diff) |
Implement explicit selection of subsystem types.
- Fixes bugs #347583, #349389, both of which were triggered by cgroups
being detected as the LXC subsystem type.
- Makes it much easier to select "prefix" type.
- "rc -S" will now print a warning if you have not configured rc_sys in
/etc/rc.conf
- All other semantics of rc_sys are unchanged in this patch.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'etc/rc.conf.Linux')
-rw-r--r-- | etc/rc.conf.Linux | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux index e1f5ef5b..001e9c08 100644 --- a/etc/rc.conf.Linux +++ b/etc/rc.conf.Linux @@ -1,3 +1,15 @@ +# This is the subsystem type. Valid options on Linux: +# "" - nothing special +# "lxc" - Linux Containers +# "openvz" - Linux OpenVZ +# "prefix" - Prefix +# "uml" - Usermode Linux +# "vserver" - Linux vserver +# "xen0" - Xen0 Domain +# "xenU" - XenU Domain +# If unset, the old automagic detection code will be triggered. Said old code +# is deprecated and be removed not later than 2010/03/01. +rc_sys="" ############################################################################## # LINUX SPECIFIC OPTIONS |