Hello
I got this bug on my Kubuntu 10.10 and 11.04 machine
Adding this conf file solved the problem for me on Kubuntu 10.10, but on 11.04
the bug is present even though the upstart job kicks off( the NAS is mounted)
Other described solutions for the bug, which used to work on 10.10 does not on
11.04 anymore. Hope this info helps
Here is the conf
descriptionAutomounter on default network
author
start on net-device-up IFACE!=lo
stop on networking stopping
stop on net-device-down IFACE!=lo
env wifiD=deckoff#SSID(name) ot the wireless network where the NFS is
connected
env mIP=192.168.1.106#local IP of of the NFS
env mDIR=Public#default mounted dir
env lDIR=MyBookLive#the local place where the NFS is mounted to. The
script mounts in a dir into /media/
env
moptions=username=***,password=***,iocharset=utf8,file_mode=0777,dir_mode=0777,soft,noperm
#options for your mount - username, password, iochart etc
post-start script
wifi='$(/sbin/iwconfig eth1 | egrep ESSID | cut -d '' -f 2)'
if [ $wifi = '$wifiD' ];
then
mount -t cifs //$mIP/$mDIR /media/$lDIR -o $moptions
fi
end script
post-stop script
sleep 2
umount /media/$lDIR -f
end script
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/211631
Title:
Network is brought down before network filesystems are unmounted (CIFS
timeout at shutdown)
--
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs