Blame SOURCES/autofs-5.1.0-make-service-want-network-online.patch

019928
autofs-5.1.0 - make service want network-online
019928
019928
From: Ian Kent <ikent@redhat.com>
019928
019928
autofs often fails to start properly in Fedora with recent systemd.
019928
019928
Changing the systemd unit to Want the network-online target works
019928
around this.
019928
019928
I'm not sure if this will cause problems for people that use file
019928
maps and expect autofs to start without the network up but I hope
019928
that's a small minority, if there are any at all.
019928
---
019928
 CHANGELOG                 |    1 +
019928
 samples/autofs.service.in |    3 ++-
019928
 2 files changed, 3 insertions(+), 1 deletion(-)
019928
019928
--- autofs-5.0.7.orig/CHANGELOG
019928
+++ autofs-5.0.7/CHANGELOG
019928
@@ -182,6 +182,7 @@
019928
 - fix direct map expire not set for initail empty map.
019928
 - update map_hash_table_size description.
019928
 - fix out of order call in program map lookup.
019928
+- make service want network-online.
019928
 
019928
 25/07/2012 autofs-5.0.7
019928
 =======================
019928
--- autofs-5.0.7.orig/samples/autofs.service.in
019928
+++ autofs-5.0.7/samples/autofs.service.in
019928
@@ -1,6 +1,7 @@
019928
 [Unit]
019928
 Description=Automounts filesystems on demand
019928
-After=network.target ypbind.service sssd.service
019928
+After=network.target ypbind.service sssd.service network-online.target
019928
+Wants=network-online.target
019928
 
019928
 [Service]
019928
 Type=forking