The problem seems to be related to the fact that I have configured my
network interface statically using /etc/network/interfaces:

auto eth0
iface eth0 inet static
        address 192.168.0.20
        netmask 255.255.255.0
        gateway 192.168.0.1

When this interface gets configured, it is in the "UP" state, but it
takes 1-2 seconds to get into the "RUNNING" state. The effect is that as
soon as the interface enters "UP" state, the event "net-device-up" is
fired, upon which mountall tries to mount the network shares. Because
the interface is not "RUNNING" yet, it does not send/receive data, and
mounting fails.

Adding a delay in /etc/init/mount-net.conf makes the problem go away, as
does not using /etc/network/interfaces for network configuration.

I'm not sure if this also solves the GDM autologin problem, I'll have to
try some more.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/798963

Title:
  Incorrect upstart dependencies cause race conditions with NFS mount
  points

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/798963/+subscriptions

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

Reply via email to