# verification-trusty

inaddy@trusty.1315535:~$ cat /etc/auto.master 
/- /etc/auto.direct

inaddy@trusty.1315535:~$ 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

# after changing auto.direct
inaddy@trusty.1315535:~$ sudo kill -HUP $(pidof automount)

inaddy@trusty.1315535:~$ sudo ls -la /proc/$(pidof automount)/fd | grep /nfs
lr-x------ 1 root root 64 Sep 29 15:23 10 -> /nfs.client/dir02
lr-x------ 1 root root 64 Sep 29 15:23 4 -> /nfs.client
lr-x------ 1 root root 64 Sep 29 15:23 9 -> /nfs.client/dir01
inaddy@trusty.1315535:~$ sudo kill -HUP $(pidof automount)
inaddy@trusty.1315535:~$ sudo ls -la /proc/$(pidof automount)/fd | grep /nfs
lr-x------ 1 root root 64 Sep 29 15:23 10 -> /nfs.client/dir02
lr-x------ 1 root root 64 Sep 29 15:23 4 -> /nfs.client
lr-x------ 1 root root 64 Sep 29 15:23 9 -> /nfs.client/dir01
inaddy@trusty.1315535:~$ sudo kill -HUP $(pidof automount)
inaddy@trusty.1315535:~$ sudo ls -la /proc/$(pidof automount)/fd | grep /nfs
lr-x------ 1 root root 64 Sep 29 15:23 10 -> /nfs.client/dir02
lr-x------ 1 root root 64 Sep 29 15:23 4 -> /nfs.client
lr-x------ 1 root root 64 Sep 29 15:23 9 -> /nfs.client/dir01
inaddy@trusty.1315535:~$ sudo kill -HUP $(pidof automount)
inaddy@trusty.1315535:~$ sudo ls -la /proc/$(pidof automount)/fd | grep /nfs
lr-x------ 1 root root 64 Sep 29 15:23 10 -> /nfs.client/dir02
lr-x------ 1 root root 64 Sep 29 15:23 4 -> /nfs.client
lr-x------ 1 root root 64 Sep 29 15:23 9 -> /nfs.client/dir01

# verification-done-trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in 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-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to