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

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