[Bug 610557] [NEW] NFS Client Not Properly Unmounted on Halt/Reboot
Launchpad Bug Tracker
610557 at bugs.launchpad.net
Tue Jul 27 21:13:43 BST 2010
You have been subscribed to a public bug:
(Note, this bug also exists in Debian.) I am using Ubuntu 10.04.1 LTS.
After installing the nfs-client package, Ubuntu installs the following
rc0.d and rc6.d links:
$ ls -l /etc/rc0.d/S31umountnfs.sh
lrwxrwxrwx 1 root root 22 2009-02-19 19:22 /etc/rc0.d/S31umountnfs.sh -> ../init.d/umountnfs.sh
$ ls -l /etc/rc6.d/S31umountnfs.sh
lrwxrwxrwx 1 root root 22 2009-02-19 19:22 /etc/rc6.d/S31umountnfs.sh -> ../init.d/umountnfs.sh
These are incorrect for many reasons:
1) The /etc/init.d/umountnfs.sh script does nothing on "start".
2) The S20sendsigs script is run before this and kills all NFS processes.
3) NFS volumes mounted over openvpn will not be properly unmounted because openvpn is killed before the start script is run.
I propose that the umountnfs.sh script be changed (back) to a kill
script with sufficiently low number so that it runs before other daemons
like openvpn. I changed mine to run at K25:
# ls -l /etc/rc0.d/K25umountnfs.sh
lrwxrwxrwx 1 root root 22 2009-02-19 19:22 /etc/rc0.d/K25umountnfs.sh -> ../init.d/umountnfs.sh
# ls -l /etc/rc6.d/K25umountnfs.sh
lrwxrwxrwx 1 root root 22 2009-02-19 19:22 /etc/rc6.d/K25umountnfs.sh -> ../init.d/umountnfs.sh
** Affects: openvpn (Ubuntu)
Importance: Undecided
Status: New
--
NFS Client Not Properly Unmounted on Halt/Reboot
https://bugs.launchpad.net/bugs/610557
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvpn in ubuntu.
More information about the Ubuntu-server-bugs
mailing list