summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-01-05 22:03:43 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2011-01-05 22:09:34 -0800
commit09f990a7c835d75f67cfe696a35e8c46e67c612f (patch)
treeda69536cd225bad4028b01e88a0629bdca472dc1 /src/test
parent6df531d33d0f3c3cad8edcafdcd62525ca30fc1f (diff)
downloadopenrc-09f990a7c835d75f67cfe696a35e8c46e67c612f.tar.gz
openrc-09f990a7c835d75f67cfe696a35e8c46e67c612f.tar.bz2
openrc-09f990a7c835d75f67cfe696a35e8c46e67c612f.tar.xz
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 'src/test')
-rw-r--r--src/test/librc.funcs.hidden.list2
-rw-r--r--src/test/rc.funcs.list4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/test/librc.funcs.hidden.list b/src/test/librc.funcs.hidden.list
index 121bfcf..b661850 100644
--- a/src/test/librc.funcs.hidden.list
+++ b/src/test/librc.funcs.hidden.list
@@ -51,4 +51,6 @@ rc_stringlist_new
rc_stringlist_sort
rc_stringlist_split
rc_sys
+rc_sys_v1
+rc_sys_v2
rc_yesno
diff --git a/src/test/rc.funcs.list b/src/test/rc.funcs.list
index b67c0d8..0aac8f9 100644
--- a/src/test/rc.funcs.list
+++ b/src/test/rc.funcs.list
@@ -104,5 +104,9 @@ rc_stringlist_split
rc_stringlist_split@@RC_1.0
rc_sys
rc_sys@@RC_1.0
+rc_sys_v1
+rc_sys_v1@@RC_1.0
+rc_sys_v2
+rc_sys_v2@@RC_1.0
rc_yesno
rc_yesno@@RC_1.0