package: autofs
version: 4.1.4+debian-2.1

This bug was originally reported in Ubuntu at
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/119660

"At the moment the autofs deamon is started by a regular init script. If
the autofs daemon loads its configuration from the network (NIS or
LDAP), the configuration is only available after the network interface
is up.
Using the init script, the autofs daemon tries to load the configuration
when the network interface is not yet ready (e.g. no DHCP address
assigned yet, etc).
I suggest to put a little script in /etc/network/if-up.d/
and /etc/network/if-down.d/ to reload the autofs daemon, so that the
configuration gets updated when the state of one of the network
interfaces changes.

At the moment I'm using a very simple script on my machine:
#!/bin/sh
# Not for loopback!
[ "$IFACE" != "lo" ] || exit 0
/etc/init.d/autofs reload"

Further information (if needed) for this bug can be found at the
Launchpad address.

Thank you.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to