I have run into this issue too. In case it helps anyone else, the workaround I 
came up with is to:
* Use the NFS server's IP address in /etc/fstab.
* Add  'mount -a' in the first non-comment line of /etc/init.d/mountnfs.sh.  
Note that it is important to call 'mount -a' before the '. 
/lib/lsb/init-functions' line as this script does not make it past that line.

Further notes:
* This script seems to be only concerned with mounting some /usr or /var 
mountpoints so it's probably nt supposed to mount my NFS filesystem which lies 
elsewhere. Still, it being run at about the right time which is all I care 
about for this gross hack.
* Resolving hostnames does not seem to work when that script is run, hence the 
need to use the IP address in fstab. That could be a problem if anyone was 
actually depending on that script to mount stuff.
* This script seems broken: it calls fstab_files which does not seem to be 
defined anywhere, resulting in running ls without parameters which obviously is 
not what's expected.

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

Title:
  NFS shares in FSTAB no longer mount at boot

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

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

Reply via email to