# verification-saucy

[email protected]:~$ sudo mkdir /nfs.server/
mkdir: cannot create directory ‘/nfs.server/’: File exists
[email protected]:~$ sudo mkdir /nfs.client
[email protected]:~$ sudo vi /etc/exports 
[email protected]:~$ sudo vi /etc/exports 
[email protected]:~$ sudo service nfs-kernel-server restart
 * Stopping NFS kernel daemon                                                   
           [ OK ] 
 * Unexporting directories for NFS kernel daemon...                             
           [ OK ] 
 * Exporting directories for NFS kernel daemon...                               
           [ OK ] 
 * Starting NFS kernel daemon                                                   
           [ OK ] 
[email protected]:~$ sudo vi /etc/auto.master 
[email protected]:~$ cat /etc/auto.master 
/- /etc/auto.direct
[email protected]:~$ sudo vi /etc/auto.direct
[email protected]:~$ cat /etc/auto.direct 
# cat /etc/auto.direct
/nfs.client localhost:/nfs.server
#/nfs.client/dir01 localhost:/nfs.server
#/nfs.client/dir02 localhost:/nfs.server
[email protected]:~$ sudo service autofs restart
autofs stop/waiting
autofs start/running, process 2351
[email protected]:~$ mkdir /nfs.server/dir01
mkdir: cannot create directory ‘/nfs.server/dir01’: Permission denied
[email protected]:~$ sudo mkdir /nfs.server/dir01
[email protected]:~$ sudo mkdir /nfs.server/dir02
[email protected]:~$ ls /nfs.client/
dir01  dir02
[email protected]:~$ sudo vi /etc/auto.direct 
[email protected]:~$ cat /etc/auto.direct 
# cat /etc/auto.direct
#/nfs.client localhost:/nfs.server
/nfs.client/dir01 localhost:/nfs.server
/nfs.client/dir02 localhost:/nfs.server
[email protected]:~$ ls /nfs.client/dir01/
[email protected]:~$ ls /nfs.client/dir02
[email protected]:~$ ls /nfs.client/
dir01  dir02
[email protected]:~$ sudo kill -HUP $(pidof automount)
[email protected]:~$ ls /nfs.client/
dir01  dir02
[email protected]:~$ ls /nfs.client/dir01
dir01  dir02
[email protected]:~$ ls /nfs.client/dir02
dir01  dir02
[email protected]:~$ sudo ls -la /proc/$(pidof automount)/fd | grep /nfs
lr-x------ 1 root root 64 Sep 29 15:36 10 -> /nfs.client/dir02
lr-x------ 1 root root 64 Sep 29 15:36 4 -> /nfs.client
lr-x------ 1 root root 64 Sep 29 15:36 9 -> /nfs.client/dir01
[email protected]:~$ sudo kill -HUP $(pidof automount)
[email protected]:~$ sudo ls -la /proc/$(pidof automount)/fd | grep /nfs
lr-x------ 1 root root 64 Sep 29 15:36 10 -> /nfs.client/dir02
lr-x------ 1 root root 64 Sep 29 15:36 4 -> /nfs.client
lr-x------ 1 root root 64 Sep 29 15:36 9 -> /nfs.client/dir01
[email protected]:~$ sudo kill -HUP $(pidof automount)
[email protected]:~$ sudo ls -la /proc/$(pidof automount)/fd | grep /nfs
lr-x------ 1 root root 64 Sep 29 15:36 10 -> /nfs.client/dir02
lr-x------ 1 root root 64 Sep 29 15:36 4 -> /nfs.client
lr-x------ 1 root root 64 Sep 29 15:36 9 -> /nfs.client/dir01

# verification-done-saucy

** Tags removed: precise verification-needed
** Tags added: verification-done verification-done-saucy 
verification-done-trusty

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

Title:
  Autofs leak file descriptors when reloaded (-HUP) and daemon may stop
  working on high # of shares/reloads

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

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

Reply via email to