--- autofs.conf.orig 2014-02-04 07:35:40.000000000 -0600 +++ autofs.conf 2016-04-05 15:07:01.754291019 -0500 @@ -1,7 +1,7 @@ description "Automounter" author "Chuck Short " -start on runlevel [2345] +start on started sssd stop on runlevel [!2345] expect fork @@ -9,6 +9,9 @@ pre-start script modprobe -q autofs4 || true + while [ -z "$(netstat -l | grep "/var/lib/sss/pipes/autofs")" ] ; do + sleep 0.5 + done end script script