https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283349

            Bug ID: 283349
           Summary: [autofs] automounted smbfs shares not being
                    autounmounted
           Product: Base System
           Version: 13.4-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: b...@freebsd.org
          Reporter: boiled...@gmail.com

smbfs directories mounted by automountd are never unmounted by autounmountd --
even after long periods of inactivity.

NOTE: This issue is similar to Bug 195161, which I reported for 10.1-RELEASE.

# cat /etc/auto_master
...
/mnt/shares     auto_smbfs

# cat /etc/auto_smbfs
...
Documents/xxx -fstype=smbfs,-N,-Ixxx,-uxxx,-gxxx ://xxx@xxx/Documents

# service automountd status
automountd is running as pid 1197.

# ps -Ostart -p 1197
 PID STARTED TT  STAT    TIME COMMAND
1197 07:39    -  Is   0:00.00 /usr/sbin/automountd

# service autounmountd status
autounmountd is running as pid 5453.

# ps -Ostart -p 5453
 PID STARTED TT  STAT    TIME COMMAND
5453 08:40    -  Is   0:00.00 /usr/sbin/autounmountd

# date
Sun Dec 15 09:34:12 xxx 2024
# mount
...
//xxx@xxx/DOCUMENTS on /mnt/shares/Documents/xxx (smbfs, automounted)

# fuser /mnt/shares/Documents/xxx
/mnt/shares/Documents/xxx:

# date
Sun Dec 15 10:20:46 xxx 2024
# mount
...
//xxx@xxx/DOCUMENTS on /mnt/shares/Documents/xxx (smbfs, automounted)
# fuser /mnt/shares/Documents/xxx
/mnt/shares/Documents/xxx:

NOTE 2: umount against the share succeeded without error.

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

Reply via email to