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

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

 



Tom Horsley writes:

On Sun, 5 Nov 2017 14:19:47 -0800
Mike Wright wrote:

> I like that.  Maybe something like a "systemd-networkd-wait-online.d
> directory that contains files named for the interfaces that have to be
> up and IP'd.

Then you find everything stops working when you get another
kernel update that breaks the unique interface naming
scheme and changes the names of all the interfaces (which
seems to happen with remarkable frequency).

How about just this: Wait for every damn interface that
is marked as "start on boot". Ignore all the other ones.

I have a better idea. How about "network-wait-online.service, or whatever it's called, and whatever other services that need to be enabled, are enabled by default".

If a service, like privoxy, requires all interfaces to be up, then it simply needs to specify "network-wait-online" as a prerequisite, in its service file, and that's the end of it. Full stop. No other action should be needed. If nothing requires network-wait-online, well, nothing waits for all network interfaces to be up. And if something does, this gets done, without remembering whatever voodoo one needs to execute in order to make the system actually work.

Is that really such a novel concept?

If a package, such as privoxy, gets installed, and configured according to its instructions, but then it fails to start properly sometimes, then it's a bug that needs to be fixed.

Attachment: pgptiqDU7L8Rg.pgp
Description: PGP signature

_______________________________________________
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