On Mon, Oct 24, 2022 at 06:07:39PM +0300, Yuri Kanivetsky wrote: > 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 You're not passing `--user` to systemctl(1). The output of `systemctl show` on a non-existent unit might be misleading. > > 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?
Attachment:
signature.asc
Description: PGP signature