← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2126970] [NEW] Autofs does not unmount nfs filesystems after the timeout

 

Public bug reported:

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)

** Affects: autofs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug plucky

-- 
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:
  New

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



Follow ups