It is a more general issue : autofs with network maps tends to not start correctly with network manager. As a workaround, I use a script in /etc/network/if-up.d :
8<--------------------------------
#!/bin/sh
AUTOFS=/etc/init.d/autofs
if [ ! -x $AUTOFS ]; then
exit 0
fi
$AUTOFS start
8<-------------------------------
autofs is restarted when interface bring up, and it works fine here.
It is a more general issue : autofs with network maps tends to not start correctly with network manager. As a workaround, I use a script in /etc/network/ if-up.d : ------- ------- ------- ------
8<-----
#!/bin/sh
AUTOFS= /etc/init. d/autofs
if [ ! -x $AUTOFS ]; then
exit 0
fi
$AUTOFS start ------- ------- ------- -----
8<-----
autofs is restarted when interface bring up, and it works fine here.