mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-22 16:27:51 +00:00
Rootless units placed in `users` would be loaded for root when `/etc/containers/systemd` is a symlink. In this case, since `UnitDirAdmin` is hardcoded, `userLevelFilter` always returns `true`. If `/etc/containers/systemd/users` is a symlink, any user would load other users' units. Fix the above two problems. Fixes: #23483 Signed-off-by: Uzinn Kagurazaka <uzinn.kagurazaka@11555511.xyz> |
||
|---|---|---|
| .. | ||
| main.go | ||
| main_test.go | ||