-
Notifications
You must be signed in to change notification settings - Fork 59
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
network-online.target is inactive breaking many dependent services #1855
Comments
Looking at related issues I'm not sure if it is podman bug or $ systemctl --user status
● localhost.localdomain
State: starting
Units: 137 loaded (incl. loaded aliases)
Jobs: 8 queued
Failed: 0 units
Since: Fri 2024-12-27 08:50:33 UTC; 1min 1s ago
systemd: 256.8-1.fc41
Tainted: unmerged-bin
CGroup: /user.slice/user-1000.slice/[email protected]
├─app.slice
│ └─podman-user-wait-network-online.service
│ ├─1512 sh -c "until systemctl is-active network-online.target; do sleep 0.5; done"
│ └─1888 sleep 0.5
└─init.scope
├─1475 /usr/lib/systemd/systemd --user
└─1484 "(sd-pam)" And file/package is: $ rpm -qf /usr/lib/systemd/user/podman-user-wait-network-online.service
podman-5.3.0-1.fc41.x86_64 |
That's weird, I have been ordering my quadlets on |
This problem affects non-root containers only - because faulty Root (privileged) containers are not affected by this bug. |
In general, |
Describe the bug
While trying sample WordPress project from https://github.com/major/quadlets-wordpress I found that
systemctl --user ...
tasks were stuck because there is servicepodman-user-wait-network-online.service
waiting forsystemctl is-active network-online.target
(see containers/podman#24796 (comment)).But on FCOS
network-online.target
never becomes online - which breaks all dependent services and is bug.Reproduction steps
OSTREE_VERSION='41.20241122.3.0'
using any kind of Ignition - trivial one with just SSH key is OKsystemctl is-active network-online.target
inactive
Expected behavior
Command
systemctl is-active network-online.target
should produceactive
Actual behavior
But
systemctl is-active network-online.target
producesinactive
instead.System details
Here are more details:
Butane or Ignition config
Additional information
Workaround: enable iscsi service:
$ sudo systemctl enable --now iscsi $ systemctl is-active network-online.target active
I found failing service using (from containers/podman#24796 (comment)):
And evaluating
systemctl status ...
for each service in tree.So there are 2 possible solutions:
iscsi.service
as defaultnetwork-online.target
The text was updated successfully, but these errors were encountered: