AutoFS does not automatically umount SMB shares
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs (Debian) |
Fix Released
|
Unknown
|
|||
autofs (Ubuntu) |
Fix Released
|
Low
|
Andreas Hasenack |
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://
100 /var/lib/
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(
My auto.master looks as follows:
/media/smb/ program:
Related branches
- Christian Ehrhardt (community): Approve
- Canonical Server: Pending requested
-
Diff: 555 lines (+442/-1)7 files modifieddebian/changelog (+354/-0)
debian/control (+2/-1)
debian/patches/16group_buffer_size.patch (+18/-0)
debian/patches/autofs-5.1.4-dont-allow-trailing-slash-in-master-map-mount-points.patch (+29/-0)
debian/patches/fix-lookup-ldap-crash.patch (+28/-0)
debian/patches/series (+6/-0)
debian/rules (+5/-0)
Changed in autofs (Ubuntu): | |
importance: | Undecided → Low |
Changed in autofs (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | Triaged → In Progress |
Changed in autofs (Debian): | |
status: | Unknown → New |
tags: | removed: server-next |
Changed in autofs (Debian): | |
status: | New → Fix Released |
Hi Alexander, /ubuntuforums. org/showthread. php?t=1355715 /askubuntu. com/questions/ 194727/ mounting- samba-share- whenever- its-available- unmounting- when-its- not
this seems to be a reoccuring issue but so far always turned out to be a config issue.
E.g. for some hints and similar cases:
https:/
https:/
The description above isn't enough to reproduce and debug, so I'll mark it incomplete for now.