Public bug reported:

Binary package hint: mountall

This concerns mountall 1.0 in karmic.

I have a network filesystem that is not one of the typical ones, but a
fuse-python thing that connects to an LDAP server. When it starts up, it
immediately connects to the LDAP server; if it cannot do this, it fails
hard. So it is critical that this be started up after networking is
available. (For this reason, I specify the _netdev option in /etc/fstab,
as the filesystem is not one of the recognized remote types.)

The LDAP connection is failing when the filesystem mount is attempted.
I'm finding that mountall is in fact attempting to do the mount *before*
dhclient has obtained an IP address for the system. (According to the
system logs, the mount attempt occurs one second before the lease is
obtained.) I confirmed this by replacing /sbin/mount.attachfs (the
handler for this network filesystem) with a wrapper script that logs the
output of ifconfig(8) on invocation, and observing that the log shows no
IP address.

mountall may be taking some care to mount network filesystems at a later
time than local ones, but it doesn't appear to be waiting for the system
to get an actual IP address before doing so.

** Affects: mountall (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Network filesystems are mounted before DHCP completes
https://bugs.launchpad.net/bugs/471962
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to