Public bug reported:

Binary package hint: initscripts

Ubuntu 8.10
initscripts version: 2.86.ds1-59ubuntu13

I have two network interfaces declared in /etc/network/interfaces as
follows:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

# USB network to OpenMoko phone
auto usb0
allow-hotplug usb0
iface usb0 inet static
        address 192.168.1.200
        netmask 255.255.255.0


I also have an NFS mount to my file server in /etc/fstab:

# Timmy!
192.168.0.5:/home /media/timmy  nfs     defaults        0       0


On hardy this worked as expected, and mounted the file server at boot.

On intrepid this fails if my usb network is not connected (it usually
isn't since it's my phone) as a result of the logic in /etc/network/if-
up.d/mountnfs script, in particular the exit_unless_last_interface()
function, which always exits the script. I can work around this
regression by editing /etc/default/rcS and adding:

ASYNCMOUNTNFS=no

..which forces the mountnfs script to ignore the state of network
interfaces and attempt NFS mounts anyway. Since eth0 comes up pretty
quickly this works for me, but may not for others.

Suggested fix: make the mountnfs script more network intelligent, and
*check if the server is reachable* rather than waiting for all auto
interfaces to come up (which in my case they never do).

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

-- 
[regression][intrepid] NFS mounts not attempted with idle network interface
https://bugs.launchpad.net/bugs/327458
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to