units: make enablement of s-n-wait-online.service follow systemd-networkd.service (#5635)

System Internals / systemd - Zbigniew Jędrzejewski-Szmek [in.waw.pl] - 27 March 2017 06:55 EDT

In 58a6dd15582c038a25bd7059435833943e2e4617 s-n-wait-online.service was added to presets to synchronize the presets with the state after installation. But it is harmful to have s-n-wait-online.service enabled when s-n.service is disabled, because s-n-wait-online.service has Requsite=s-n.service and cannot be activated. Thus remove s-n-wait-online.service from presets again, and let it be enabled whenever s-n.service is enabled.

During installation we create enablement symlinks by hand, and since s-n.service is enabled, s-n-w-o.service should be enabled too, so the symlink should still be created during installation.

https://bugzilla.redhat.com/show_bug.cgi?id=1433459#c15

9e49656 units: make enablement of s-n-wait-online.service follow systemd-networkd.service (#5635)
system-preset/90-systemd.preset | 1 -
units/systemd-networkd.service.m4.in | 6 ++++++
2 files changed, 6 insertions(+), 1 deletion(-)

Upstream: github.com


  • Share