[Bug 283349] [autofs] automounted smbfs shares not being autounmounted

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 15 Dec 2024 19:48:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283349

--- Comment #2 from T A Brown <boilednut@gmail.com> ---
There were no relevant logs. Ran the service in the foreground -- with output
below.

##############################
#       Server Session       #
##############################

# date;autounmountd -d -t 5
Sun Dec 15 14:07:19 xxx 2024
...
autounmountd: new automounted filesystem found on /mnt/shares/Documents/xxx
(FSID:-2046755051:134)
autounmountd: expiring automounted filesystems
autounmountd: skipping /mnt/shares/Documents/xxx (FSID:-2046755051:134),
mounted for 0  seconds
autounmountd: some filesystems expire in 5  seconds
autounmountd: waiting for filesystem event for 5 seconds
autounmountd: timeout reached
autounmountd: refreshing list of automounted filesystems
...
autounmountd: already known automounted filesystem found on
/mnt/shares/Documents/xxx (FSID:-2046755051:134)
autounmountd: expiring automounted filesystems
autounmountd: filesystem mounted on /mnt/shares/Documents/xxx
(FSID:-2046755051:134), was mounted for 5 seconds; unmounting
autounmountd: cannot unmount /mnt/shares/Documents/xxx (FSID:-2046755051:134):
Device busy
autounmountd: some expired filesystems remain mounted, will retry in 600 
seconds
autounmountd: waiting for filesystem event for 600 seconds
autounmountd: timeout reached
...
autounmountd: already known automounted filesystem found on
/mnt/shares/Documents/xxx (FSID:-2046755051:134)
autounmountd: expiring automounted filesystems
autounmountd: filesystem mounted on /mnt/shares/Documents/xxx
(FSID:-2046755051:134), was mounted for 605 seconds; unmounting
autounmountd: cannot unmount /mnt/shares/Documents/xxx (FSID:-2046755051:134):
Device busy
autounmountd: some expired filesystems remain mounted, will retry in 600 
seconds
autounmountd: waiting for filesystem event for 600 seconds
autounmountd: got filesystem event
autounmountd: refreshing list of automounted filesystems
...
autounmountd: lost filesystem mounted on /mnt/shares/Documents/xxx
(FSID:-2046755051:134)
autounmountd: expiring automounted filesystems
autounmountd: no filesystems to expire
autounmountd: waiting for filesystem event


##############################
#       Client Session       #
##############################

# date;mount
Sun Dec 15 14:09:10 xxx 2024
...
//xxx@xxx/DOCUMENTS on /mnt/shares/Documents/xxx (smbfs, automounted)
# date ; mount
Sun Dec 15 14:21:08 xxx 2024
//xxx@xxx/DOCUMENTS on /mnt/shares/Documents/xxx (smbfs, automounted)
# date;umount /mnt/shares/Documents/xxx
Sun Dec 15 14:21:43 xxx 2024

-- 
You are receiving this mail because:
You are the assignee for the bug.