A work-around which works well is to have a script mount the nfsv4
shares

#!/bin/sh
IF=$1
STATUS=$2

if [ "$IF" = "eth0" ] && [ "$STATUS" = "down" ] ; then
#  if [ `/usr/bin/stat -fc%t:%T /shared` != `/usr/bin/stat -fc%t:%T /` ]; then
     /bin/umount /shared
#   fi
fi
if  [ "$IF" = "eth0" ] && [ "$STATUS" = "up" ] ; then
     /bin/mount /home
fi

exit

============================================================

and also modify the lightdm start script to wait on mounted /home

start on ((filesystem
           and runlevel [!06]
           and started dbus
           and plymouth-ready)
           and mounted MOUNTPOINT=/home
          or runlevel PREVLEVEL=S)


R.

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

Title:
  nfs shares are not automounted anymore in intrepid

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

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

Reply via email to