ansible-lxc-ssh icon indicating copy to clipboard operation
ansible-lxc-ssh copied to clipboard

Assumes that cgroup2 users are also systemd users

Open akorn opened this issue 2 years ago • 0 comments

If a host uses cgroup2, the connection plugin will unconditionally try to execute commands via systemd-run.

Please check whether systemd-run exists before trying to use it (or, perhaps even better, whether pid1 is systemd). cgroup2 can also be used without systemd.

akorn avatar Apr 18 '22 16:04 akorn