[Bug 1754506] Re: AutoFS does not automatically umount SMB shares
Alexander Lochmann
1754506 at bugs.launchpad.net
Fri Mar 30 11:16:43 UTC 2018
I finally solved the problem with the help of Ian Kent.
He pointed me in the right direction: https://git.kernel.org/pub/scm/linux/storage/autofs/autofs.git/commit/?id=37dd05dd1bccdedc4157902420e1da506b2bf35f
A trailing slash in the /etc/auto.master was the problem. I consider it both a config problem and a bug.
However, it has already been fixed in the upstream sources. I therefore ask you to update Ubuntu's version of autofs daemon.
--
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:
Incomplete
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