[Bug 1316125] Re: Autofs leak file descriptors when reloaded (-HUP) and daemon may stop working on high # of shares/reloads
Stéphane Graber
stgraber at stgraber.org
Tue Jun 3 21:55:33 UTC 2014
Hello Rafael, or anyone else affected,
Accepted autofs5 into precise-proposed. The package will build now and
be available at
http://launchpad.net/ubuntu/+source/autofs5/5.0.6-0ubuntu5.2 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: autofs5 (Ubuntu Precise)
Status: In Progress => Fix Committed
** Tags added: verification-needed
** Changed in: autofs (Ubuntu Saucy)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1316125
Title:
Autofs leak file descriptors when reloaded (-HUP) and daemon may stop
working on high # of shares/reloads
Status in “autofs” package in Ubuntu:
In Progress
Status in “autofs5” package in Ubuntu:
In Progress
Status in “autofs” source package in Precise:
In Progress
Status in “autofs5” source package in Precise:
Fix Committed
Status in “autofs” source package in Saucy:
Fix Committed
Status in “autofs5” source package in Saucy:
In Progress
Status in “autofs” source package in Trusty:
In Progress
Status in “autofs5” source package in Trusty:
In Progress
Bug description:
[Impact]
* Autofs leak file descriptors when reloaded (-HUP) and daemon may
stop working on high # of shares/reloads.
[Test Case]
1. Configure a simple direct mount:
# cat /etc/auto.master
/- /etc/auto.direct
# cat /etc/auto.direct
/nfs server:/nfs
2. Start the automounter and do NOT trigger the mount
3. Replace /etc/auto.direct with:
# cat /etc/auto.direct
/nfs/1 server:/nfs
/nfs/2 server:/nfs
4. Reload:
# kill -HUP $(pidof automount)
>From now on, every reload will leak a file descriptor:
# ls -la /proc/$(pidof automount)/fd | grep /nfs
lr-x------ 1 root root 64 Aug 14 22:08 11 -> /nfs
lr-x------ 1 root root 64 Aug 14 22:08 12 -> /nfs
lr-x------ 1 root root 64 Aug 14 22:08 13 -> /nfs
lr-x------ 1 root root 64 Aug 14 22:08 14 -> /nfs
lr-x------ 1 root root 64 Aug 14 22:08 5 -> /nfs
[Regression Potential]
* based on upstream commit: autofs - version 5.0.7 - dd66c61a - file
descriptor leak when reloading automount daemon. Tested with the same
test case fix the error and not changing any other behavior.
[Other Info ]
-
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1316125/+subscriptions
More information about the Ubuntu-sponsors
mailing list