-
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
rootless podman fails to run after system reboot #7976
Comments
Hi Team, |
@mheon PTAL |
The |
yes. after enabling the systemd user session. I run |
@giuseppe PTAL - Any ideas? User has lingering enabled, but at the same time we don't seem to have a systemd user session active. |
what do you see with I wonder if the podman service is trying to start before dbus is running. In this case, could you try adding a dependency on |
podman@container-host[~] $ systemctl --user status dbus-broker.service may I know where is the podman .service file located? |
I meant the .service file for starting the container -> |
Sorry I am not sure where to add the
|
in the |
thanks @giuseppe. added the
cat /home/podman/.config/systemd/user/pod-appd.service
|
is there any useful information in the user journal |
journalctl --user
|
Hi @giuseppe did you get chance to look at the log. |
Hi @giuseppe I could see the below message in
|
Hi all any update on this issue. Can someone please take a look. |
sorry, it looks like the service is called Could you check the status of the |
Hi @giuseppe for |
Hi @giuseppe I just reproduced the issue in other instance, surprisingly now the podman commands are not hang, but it throws different error, please verify the below steps and let me know if anything is wrong here.
Step 4:
Step 6:
Step 11:
podman info --debug
|
I've never seen this issue before. Does it also happen if you run the |
Yes I am getting the same error even If I run the |
Hi @giuseppe did you get chance to reproduce this issue.
|
Hi any update on this issue. |
@giuseppe PTAL |
Both podman and systemd were updated in RHEL 8.3. Could you give it a try? I've just tried following your exact steps on RHEL 8.3 and the container comes up after a reboot |
podman is there any workaround in rhel 8.2 for the current issue? also could you please help me to understand why I am getting this issue. because the same steps works fine in podman |
podman 2.0.5 is available on RHEL 8.3. |
is it safe to assume users on RHEL 8.3 can only configure podman 2.0.5v . But users on REHL 8.2 can configure podman 1.6.4 or 1.9.3. |
is there any reason to stick with an older version when the updated version works fine? |
actually in my organization the installations are managed by different team. if you can confirm it's an issue with podman 1.6.4v I can inform our team to upgrade all podman installations to 1.9.3v on RHEL 8.2. |
you might be hitting #5423 that is fixed in v1.9.3 |
This should be handled as a bugzilla as well, not an issue in the upstream repository. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
We are running our pod using
systemctl --user start pod-appd.service
after the system reboot. none of the podman commands working. its hang.Steps to reproduce the issue:
mkdir -p ~/.config/systemd/user
podman generate systemd --files --restart-policy=always --name appd
cp .service /home/podman/.config/systemd/user
systemctl --user daemon-reload
systemctl --user enable pod-appd.service
systemctl --user start pod-appd.service
loginctl enable-linger podman
Describe the results you received:
after the system reboot none of the podman commands are working other than podman version.
Describe the results you expected:
The pod & containers should have started and all podman commands should work
Additional information you deem important (e.g. issue happens only occasionally):
Initially in that instance I got
Failed to connect to bus: No such file or directory
error forsystemctl --user
. So I addedexport XDG_RUNTIME=/run/user/$(id -u) in
/home/podman/.bashrc` file.Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes its working in
podman 1.9.3
versionAdditional environment details (AWS, VirtualBox, physical, etc.):
VirtualBox
The text was updated successfully, but these errors were encountered: