Creation of healthcheck service fails in rootless mode #3523
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.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Adding
--healthcheck-command XXX
in rootless mode results in a warning instead of creation of the service & timer units.Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Service & timer should be generated
Additional information you deem important (e.g. issue happens only occasionally):
I guess the error means that podman tries the equivalent of
systemctl --system
instead ofsystemctl --user
:$ ls -lhtZ /run/user/$(id -u)/systemd/private srwxr-xr-x. 1 stefanb stefanb unconfined_u:object_r:user_tmp_t:s0 0 7. 7. 18:21 /run/user/1000/systemd/private
Output of
podman version
:Output of
podman info --debug
:The text was updated successfully, but these errors were encountered: