Autofs should be reloaded when state of network interface changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs (Debian) |
Fix Released
|
Unknown
|
|||
autofs (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Bug Description
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/
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
Changed in autofs (Ubuntu): | |
importance: | Undecided → Low |
Changed in autofs (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in autofs (Debian): | |
status: | Unknown → New |
Changed in autofs (Debian): | |
status: | New → Fix Released |
I forget to mention the Ubuntu version. It's on feisty fawn.