[systemd-devel] How to debug blocking service start?
Lennart Poettering
lennart at poettering.net
Tue Apr 7 08:13:32 PDT 2015
On Sat, 04.04.15 15:33, Kai Hendry (hendry at webconverger.com) wrote:
> Thanks for the reply Lennart! I'm sorry I couldn't attend your FOSSASIA
> talk in Singapore. I was on holiday.
>
> On Sat, 4 Apr 2015, at 12:16 AM, Lennart Poettering wrote:
> > something else that runs before it is hanging hence. What does
> > "systemctl list-jobs" say before you run this and it hangs?
>
> [root at rpi2 ~]# systemctl list-jobs
> JOB UNIT TYPE STATE
> 95 surf.service start waiting
> 97 systemd-networkd-wait-online.service start running
> 96 network-online.target start waiting
>
> 3 jobs listed.
>
>
> So, maybe the network-online target is not ever bring hit? I'm using
> systemd-networkd and I'm certainly online, so I am not sure where the
> problem lies. Any ideas?
Well, systemd-networkd-wait-online.service apparently disagrees with
whether you are online...
What does "networkctl status" say when this happens? And "networkctl
status -a"?
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list