Quadlets: rootless unit in /etc/containers/systemd/users/$(UID)
loaded for root when /etc/containers/systemd
is a symlink
#23483
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
Any unit placed in
/etc/containers/systemd/users/$(UID)
will be loaded for root user when/etc/containers/systemd
is a symlink.Steps to reproduce the issue
/etc/containers/systemd
and recreate it as a synlink.e.g.
/etc/containers/systemd
->/opt/containers/systemd
/etc/containers/systemd/users/$(UID)
e.g.
/etc/containers/systemd/users/1000/test.container
systemctl daemon-reload
systemctl status test.service
Describe the results you received
The rootless unit is loaded as root.
Describe the results you expected
Rootless units in
/etc/containers/systemd/users/$(UID)
only load for the corresponding user.podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
Debian Sid
Running latest podman from sources.
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: