commit:     2b33c4e01bd347ae6fdce2ad634218548cdd1e19
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  8 06:16:57 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Jan  8 06:16:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b33c4e0

app-containers/lxd: edit the latest openrc init.d file again

 - remove suggestion for 'rc_cgroup_controllers="yes"' which is the default
   value in rc.conf.

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-containers/lxd/files/lxd-5.0.2-r1.initd | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app-containers/lxd/files/lxd-5.0.2-r1.initd 
b/app-containers/lxd/files/lxd-5.0.2-r1.initd
index 85b27a45e448..7c74c0fdc308 100644
--- a/app-containers/lxd/files/lxd-5.0.2-r1.initd
+++ b/app-containers/lxd/files/lxd-5.0.2-r1.initd
@@ -31,8 +31,7 @@ start() {
 
        # Create necessary systemd paths in order for systemd containers to 
work on openrc host.
        # /etc/rc.conf should have following values:
-       # rc_cgroup_mode="hybrid"
-       # rc_cgroup_controllers="yes"
+       #   rc_cgroup_mode="hybrid"
        if [ -d /sys/fs/cgroup/unified ] &&
        [ ! -d /sys/fs/cgroup/systemd ]; then
                install -d /sys/fs/cgroup/systemd --group lxd --owner root

Reply via email to