-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove multi-user.target from all systemd units #12438
Labels
In Progress
This issue is actively being worked by the assignee, please do not work on this at this time.
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.
Comments
@vrothberg PTAL |
@cryobry which system are you running on? Can you share the output of |
|
Thanks! Looks like I'll prepare a fix. |
vrothberg
changed the title
Remove multi-user.target from
Remove multi-user.target from all systemd units
Nov 30, 2021
podman generate systemd
output
vrothberg
added
the
In Progress
This issue is actively being worked by the assignee, please do not work on this at this time.
label
Nov 30, 2021
vrothberg
added a commit
to vrothberg/libpod
that referenced
this issue
Nov 30, 2021
Replace `multi-user.target` with `default.target` across the code base. It seems like the multi-user one is not available for (rootless) users on F35 anymore is causing issues in all kinds of ways, for instance, enabling the podman.service or generated systemd units. Fixes: containers#12438 Signed-off-by: Valentin Rothberg <[email protected]>
vrothberg
added a commit
to vrothberg/libpod
that referenced
this issue
Dec 1, 2021
Replace multi-user.target with default.target across the code base. It seems like the multi-user one is not available for (rootless) users on F35 anymore is causing issues in all kinds of ways, for instance, enabling the podman.service or generated systemd units. Backport of commit 9a10e21. Fixes: containers#12438 Signed-off-by: Valentin Rothberg <[email protected]>
github-actions
bot
added
the
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
label
Sep 21, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
In Progress
This issue is actively being worked by the assignee, please do not work on this at this time.
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
Remove multi-user.target from
podman generate systemd
output. This will prevent the following error insystemctl --user
mode:Unit /home/user/.config/systemd/user/container-name.service is added as a dependency to a non-existent unit multi-user.target.
Steps to reproduce the issue:
When creating
systemctl --user
service files, there is no multi-user target.podman generate systemd
and add it as a user servicesystemctl --user daemon-reload
systemctl --user enable --now container-name.service
Describe the results you received:
Unit /home/user/.config/systemd/user/container-name.service is added as a dependency to a non-existent unit multi-user.target.
Describe the results you expected:
No error.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
The text was updated successfully, but these errors were encountered: