Public bug reported:

Binary package hint: mountall

I have the following two lines in fstab:
nasi.local:/secure/alex         /home/alex/secure       nfs     
defaults,rw,exec,user,nobootwait        0       0
nasi.local:/data                        /home/alex/data         nfs     
defaults,rw,exec,user,nobootwait        0       0

On every boot I get prompted with the famous "S or M" prompt to manually mount 
or skip the mounting. The shares themselves ARE always available. Skipping 
doesn't work for other reasons (see [1]), nobootwait doesn't work for even 
other reasons ([2]). The only way to get the system to boot is to manually fix 
the issue by pressing "M" and then starting dhclient manually:
# dhclient -v eth1
After that the boot can continue by simply exiting the emergency shell. This is 
clearly an issue with nfs mounts being tried before setting up the network, or 
at least running dynamic network configuration (i.e. DHCP). 

Also note that this happens reliably on every boot, so a race is
unlikely. I also don't have /var as a separate mountpoint.

Just for completeness sake, my complete fstab:
% cat /etc/fstab | grep -v ^#
proc            /proc           proc    nodev,noexec,nosuid 0       0
UUID=e278f6aa-8fba-47be-880b-53bbce04a9d8 /               ext4    
errors=remount-ro 0       1
UUID=c842351a-aa7c-478a-a58f-f671ca6e6858 /extra          ext4    defaults      
  0       2
UUID=79f60f9a-a507-41d7-b00b-c831bd3ba892 /opt            ext4    defaults      
  0       2
UUID=373f64a7-04d0-4d21-94dc-8b08c3fef2b9 none            swap    sw            
  0       0

nasi.local:/secure/alex         /home/alex/secure       nfs     
defaults,rw,exec,user,nobootwait        0       0
nasi.local:/data                        /home/alex/data         nfs     
defaults,rw,exec,user,nobootwait        0       0
UUID=3a094e37-2689-435d-8a00-447274664320 /home ext4 defaults,user_xattr 0 2


And for even more completeness, the /etc/exports on the server (debian squeeze):
/data   192.168.0.0/24(rw,no_subtree_check,async,no_root_squash)        
192.168.2.0/24(rw,no_subtree_check,async,no_root_squash)        
10.0.1.0/24(rw,no_subtree_check,async,no_root_squash)
/secure/alex    192.168.0.0/24(rw,no_subtree_check,no_root_squash)      
192.168.2.0/24(rw,no_subtree_check,no_root_squash)              
10.0.1.0/24(rw,no_subtree_check,no_root_squash)


Kind Regards,
Alex


[1]: https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/655616
[2]: https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/759450

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: mountall 2.25
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Apr 19 06:58:49 2011
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/zsh
SourcePackage: mountall
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug natty running-unity

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

Title:
  nfs mounts in fstab are mounted before network is up

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

Reply via email to