[systemd-devel] Is there a way to find out if Delegate=yes?
Yuri Kanivetsky
yuri.kanivetsky at gmail.com
Mon Oct 24 15:07:39 UTC 2022
Hi,
I'm experimenting with LXC containers:
https://linuxcontainers.org/lxc/getting-started/
And there's a command I don't fully understand:
systemd-run --unit=my-unit --user --scope -p "Delegate=yes" --
lxc-start my-container
It runs lxc-start in a transient user scope with Delegate=yes, but:
$ systemctl show -p Delegate run-....scope
Delegate=no
That's on an Ubuntu server. Locally on Arch Linux I don't need
systemd-run, lxc-start just works.
How can I see the effect of systemd-run, and why systemd-run is not
needed on Arch Linux?
More information about the systemd-devel
mailing list