Can you please provide some logs from systemd when this is happening?
For example, maybe:
1. Run: `systemctl log-level debug`
2. Observe/reproduce the issue.
3. Run: `journalctl -u net-host-path-somehwere.mount -b > logs.txt`
and share the logs. If there are other relevant logs in the journal (not
just restricted to the mount unit), please share those as well.
** Changed in: autofs (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/2126970
Title:
Autofs does not unmount nfs filesystems after the timeout
Status in autofs package in Ubuntu:
Incomplete
Bug description:
Autofs remounts NFS filesystems after the timeout is up. For example, if
autofs.master contains:
/net -hosts noexec --timeout=30
If I then access /net/host/path/somewhere autofs will mount correctly and I
can then see that the systemd unit net-host-path-somehwere.mount is visible and
shows as active. If I then close anything open on that share I can see that
after about 30s systemctl will start reporting:
Unit net-host-path-somehwere.mount could not be found
as I expect. However, within a few seconds systemctl will start again
reporting that the unit is active and mounted. This then repeats; despite the
fact I am not trying to access the mount. This means that the remote nfs file
system never really unmounts despite the fact it is not being used.
ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: autofs 5.1.9-1.2ubuntu1
ProcVersionSignature: Ubuntu 6.14.0-33.33-generic 6.14.11
Uname: Linux 6.14.0-33-generic x86_64
ApportVersion: 2.32.0-0ubuntu5.3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Mon Oct 6 22:08:20 2025
InstallationDate: Installed on 2024-07-06 (457 days ago)
InstallationMedia: Xubuntu 24.04 LTS "Noble Numbat" - Release amd64
(20240424.2)
SourcePackage: autofs
UpgradeStatus: Upgraded to plucky on 2025-09-15 (21 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/2126970/+subscriptions
--
Mailing list: https://launchpad.net/~debcrafters-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~debcrafters-packages
More help : https://help.launchpad.net/ListHelp