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

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