[Bug 1754506] [NEW] AutoFS does not automatically umount SMB shares

Alexander Lochmann 1754506 at bugs.launchpad.net
Thu Mar 8 23:10:18 UTC 2018


Public bug reported:

Description:    Ubuntu 17.10
Release:        17.10

autofs:
  Installed: 5.1.2-1ubuntu1
  Candidate: 5.1.2-1ubuntu1
  Version table:
 *** 5.1.2-1ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu artful/main amd64 Packages
        100 /var/lib/dpkg/status

Kernel: self-built 4.15.6

What I expect:
I expect AutoFS to automatically unmount my samba share after the timeout. However, it does not. The share is still mounted.
I've turned the autofs debug output in the kernel module. As far as I can tell, the kernel thinks the cifs mount is still busy.

I'm using the smb automount script provided by the package: /etc/auto.smb. I've just added an additional cifs parameter(vers=2.0).
My auto.master looks as follows:
/media/smb/      program:/etc/auto.smb

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

** Attachment added: "autofs.conf"
   https://bugs.launchpad.net/bugs/1754506/+attachment/5073761/+files/autofs.conf

** Description changed:

  Description:    Ubuntu 17.10
  Release:        17.10
  
  autofs:
-   Installed: 5.1.2-1ubuntu1
-   Candidate: 5.1.2-1ubuntu1
-   Version table:
-  *** 5.1.2-1ubuntu1 500
-         500 http://de.archive.ubuntu.com/ubuntu artful/main amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: 5.1.2-1ubuntu1
+   Candidate: 5.1.2-1ubuntu1
+   Version table:
+  *** 5.1.2-1ubuntu1 500
+         500 http://de.archive.ubuntu.com/ubuntu artful/main amd64 Packages
+         100 /var/lib/dpkg/status
+ 
+ Kernel: self-built 4.15.6
  
  What I expect:
- I expect AutoFS to automatically unmount my samba share after the timeout. However, it does not.
- The share is still mounted.
+ I expect AutoFS to automatically unmount my samba share after the timeout. However, it does not. The share is still mounted.
+ I've turned the autofs debug output in the kernel module. As far as I can tell, the kernel thinks the cifs mount is still busy.
  
  I'm using the smb automount script provided by the package: /etc/auto.smb. I've just added an additional cifs parameter(vers=2.0).
  My auto.master looks as follows:
  /media/smb/      program:/etc/auto.smb

** Package changed: libreoffice (Ubuntu) => autofs (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1754506

Title:
  AutoFS does not automatically umount SMB shares

Status in autofs package in Ubuntu:
  New

Bug description:
  Description:    Ubuntu 17.10
  Release:        17.10

  autofs:
    Installed: 5.1.2-1ubuntu1
    Candidate: 5.1.2-1ubuntu1
    Version table:
   *** 5.1.2-1ubuntu1 500
          500 http://de.archive.ubuntu.com/ubuntu artful/main amd64 Packages
          100 /var/lib/dpkg/status

  Kernel: self-built 4.15.6

  What I expect:
  I expect AutoFS to automatically unmount my samba share after the timeout. However, it does not. The share is still mounted.
  I've turned the autofs debug output in the kernel module. As far as I can tell, the kernel thinks the cifs mount is still busy.

  I'm using the smb automount script provided by the package: /etc/auto.smb. I've just added an additional cifs parameter(vers=2.0).
  My auto.master looks as follows:
  /media/smb/      program:/etc/auto.smb

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1754506/+subscriptions



More information about the foundations-bugs mailing list