Public bug reported:
Binary package hint: autofs
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
** Affects: autofs (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
Autofs should be reloaded when state of network interface changes
https://bugs.launchpad.net/bugs/119660
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs