Roger Heflin writes:

Run this:
systemd-analyze critical-chain network-online.target

Can you explain why you think inspecting dependencies and starting times of different systemd units would have any bearing on why a single unit, systemd- network, is blowing chunks? Wasn't it clear from my explanation that the issue is a single systemd unit, systemd-networkd that times out and fails to start, on its own merits? Unless you're claiming that its upstream dependencies somehow affect it, I don't see any relevance of this.

What I do see, though, is that we have both NetworkManager-wait-online and systemd-networkd-wait-online. Why do we need both of them?

I simply disabled systemd-networkd-wait-online, and that seems to solve the problem. NetworkManager-wait-online does its job, now, as it always did. It's still enabled, as it always is. From what I could tell, systemd- networkd-wait-online did nothing at all, for me, whatsoever, except to delay other units from starting for a couple of minutes.

On Wed, Apr 10, 2024 at 6:20 AM Sam Varshavchik <mr...@courier-mta.com> wrote:
>
> Samuel Sieb writes:
>
> > I have a similar problem where the wait-online service suddenly started
> > taking a very long time and then failing. My system that used to boot in a
> > few seconds now takes over a minute.  So I have two questions.
> >
> > What is it waiting for? My main ethernet card gets an address right away.
>
> Some stuff that comes up doesn't really like it if there is no network
> connection, at the time. That's what this whole house of cards is for: to
> sit and wait until the box has at least one network connection "up".

Attachment: pgpUWvkjXxw6u.pgp
Description: PGP signature

--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to