Re: network-online.target appears to be very much broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

On Sun, 05 Nov 2017 08:52:33 -0500 Sam Varshavchik wrote:

> Why is it so difficult to make sure that a service gets started after all IP  
> addresses are set up by the system, for services that have this requirement?

Using a dependency (Wants and After) to network-online.target is the
proper way to do that. Your privoxy.service is thus correct.

You must then verify that network-online.target is properly
configured,

There is (mostly) two ways to start the network:

  - with NetworManager
  - with systemd-networkd

Both of them start asynchronously (are seen started by systemd
*before* the network interfaces are configured).

To achieve synchronisation you must enable:

  - NetworkManager-wait-online.service if you use NetworManager
  - or systemd-networkd-wait-online.service if you use systemd-networkd

Those wait-online service are WantedBy network-online.target

Can you verify those 4 services on your machine?

For example with:

  systemctl -n 0 status NetworkManager{,-wait-online} systemd-networkd{,-wait-online}

-- Francis
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux