autofs-5.0.9 - make service want network-online From: Ian Kent autofs often fails to start properly in Fedora with recent systemd. Changing the systemd unit to Want the network-online target works around this. I'm not sure if this will cause problems for people that use file maps and expect autofs to start without the network up but I hope that's a small minority, if there are any at all. --- CHANGELOG | 1 + samples/autofs.service.in | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 29bcfd5..212501c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -16,6 +16,7 @@ - gaurd against incorrect umount return. - update man page autofs(8) for systemd. - dont pass sloppy option for other than nfs mounts. +- make service want network-online. 28/03/2014 autofs-5.0.9 ======================= diff --git a/samples/autofs.service.in b/samples/autofs.service.in index 777463d..d4de6ff 100644 --- a/samples/autofs.service.in +++ b/samples/autofs.service.in @@ -1,6 +1,7 @@ [Unit] Description=Automounts filesystems on demand -After=network.target ypbind.service sssd.service +After=network.target ypbind.service sssd.service network-online.target +Wants=network-online.target [Service] Type=forking