You are not logged in.
I'm trying to get rootless quadlet user services working.
When I run
systemctl --user start my.service
it hangs for 90 seconds before starting. I am fairly sure I have determined that it's due to the podman-user-wait-network-online.service which is running this script when I inspect it:
/bin/sh -c until systemctl is-active network-online.target; do sleep 0.5; done
I tried running
systemctl is-active network-online.target
and it was indeed not active despite clearly having a fully functional networking setup. I then ran
systemctl enable --now network-online.target
which understandably prints out that there is no install section for network-online.target but regardless, after running it,
systemctl is-active network-online.target
returns active and my quadlets start without delay. I reproduced this on a fresh arch install in a VM.
This is a problem after every restart, and having quadlets enabled with lingering means there is an annoying delay before services come back up. What is needed to resolve network-online.target not being active after the network starts on boot?
Thanks!
Offline
I don't have a clean solution, but you are exactly in this case:
https://github.com/containers/podman/issues/24796
Offline