when stopped, automount orphans some mounts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs5 (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu Server | ||
Lucid |
Won't Fix
|
Medium
|
Dave Walker | ||
Maverick |
Won't Fix
|
Medium
|
Dave Walker | ||
Natty |
Won't Fix
|
Medium
|
Unassigned | ||
Oneiric |
Fix Released
|
Medium
|
Ubuntu Server |
Bug Description
Binary package hint: autofs5
[Impact]
Running reload autofs on a release with this issue creates automount maps and can cause the automounter to hang. This will prevent logins via ssh for users (due to NFS mounted home directories).
I have an automount setup containing a large number of NIS-provided maps, all derived from an NIS-provided master map (yp:auto.master). When I stop automount using "stop autofs", I noticed that some mounts have been unmounted while a non-deterministic number of mounts have been orphaned and need to be cleaned up using "umount":
[Test]
adar@adar-lx:~$ sudo start autofs && sudo stop autofs && grep autofs /proc/mounts
autofs start/running, process 13152
autofs stop/waiting
auto.home /exit14 autofs rw,relatime,
/etc/auto.build /build autofs rw,relatime,
auto.exit15 /exit15 autofs rw,relatime,
auto.scripts /scripts autofs rw,relatime,
adar@adar-lx:~$ sudo start autofs && sudo stop autofs && grep autofs /proc/mounts
autofs start/running, process 13198
autofs stop/waiting
/etc/auto.build /build autofs rw,relatime,
auto.scripts /scripts autofs rw,relatime,
auto.mts-tlv /mts-tlv autofs rw,relatime,
auto.mts-sof /mts-sof autofs rw,relatime,
auto.mts-cm /mts-cm autofs rw,relatime,
adar@adar-lx:~$ sudo start autofs && sudo stop autofs && grep autofs /proc/mounts
autofs start/running, process 13244
autofs stop/waiting
auto.mts-sof /mts-sof autofs rw,relatime,
auto.buildmap /bldmnt autofs rw,relatime,
auto.exit26home /exit26 autofs rw,relatime,
I suspect this is due to the transition to upstart but I'm not 100% sure.
[Regression Potential]
Issue was known and resolved upstream, and has been carried in later releases of Ubuntu. The patch coming untouched from upstream indicates that the regression potential is low.
Changed in autofs5 (Ubuntu): | |
assignee: | nobody → Ubuntu Server Team (ubuntu-server) |
importance: | Low → Medium |
Changed in autofs5 (Ubuntu Oneiric): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Ubuntu Server Team (ubuntu-server) |
Changed in autofs5 (Ubuntu Maverick): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in autofs5 (Ubuntu): | |
milestone: | none → oneiric-alpha-3 |
Changed in autofs5 (Ubuntu Oneiric): | |
milestone: | oneiric-alpha-3 → ubuntu-11.10-beta-1 |
Changed in autofs5 (Ubuntu Oneiric): | |
status: | Incomplete → In Progress |
Changed in autofs5 (Ubuntu Maverick): | |
status: | Incomplete → In Progress |
Changed in autofs5 (Ubuntu Lucid): | |
assignee: | nobody → Dave Walker (davewalker) |
status: | New → In Progress |
importance: | Undecided → Medium |
description: | updated |
Changed in autofs5 (Ubuntu Natty): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in autofs5 (Ubuntu Natty): | |
assignee: | nobody → Chris J Arges (christopherarges) |
Changed in autofs5 (Ubuntu Natty): | |
assignee: | Chris J Arges (arges) → nobody |
I forgot to mention that this is with autofs5 in Lucid Lynx, package version version 5.0.4-3.1ubuntu5.