[Bug 1754506] Re: AutoFS does not automatically umount SMB shares
Alexander Lochmann
1754506 at bugs.launchpad.net
Wed Mar 14 08:28:03 UTC 2018
Some additional information:
By further digging into it, I've learned that for some reasons the smb is reported busy.
In autofs4_mount_busy(https://elixir.bootlin.com/linux/v4.15.6/source/fs/autofs4/expire.c#L34) the call of may_umount_tree() returns 0. This indicates that the mount is considered busy. I'll keep you posted.
--
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