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

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