https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251906
Bug ID: 251906 Summary: autofs: automounter always only adds to /var/db/mounttab but never clears it Product: Base System Version: 12.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: d8zne...@aon.at Scenario: - FreeBSD 12.2-RELEASE-p2 #4 r368500M - autofs on /net using a self-developed /etc/autofs/special_hosts3 (similar to the regular special_hosts) Result: - On every auto mount, an entry is added to /var/db/mounttab - On no auto unmount any entry is deleted from /var/db/mounttab - When forcibly timing out all mounts and none remain, /var/db/mounttab is still full of (even duplicated) entries: [1]# df -t nfs ; automount -u ; echo after ; df -t nfs ; cat /var/db/mounttab Filesystem 1K-blocks Used Avail Capacity Mounted on gandalf:/z/ss 65015520 629996 64385524 1% /net/gandalf/z/ss after 1608103434 hal /z/SRC/FreeBSD/releng/12.2 1608117698 hal /z/release/FreeBSD-ports/amd64/packages-12 1608117947 hal /z/VOL/FreeBSD-ports 1608145583 hal /z/SRC/FreeBSD-ports/head 1608145583 hal /z/VOL/FreeBSD-ports 1608145584 hal /z/SRC/FreeBSD/releng/12.2 1608145643 hal /z/VOL/FreeBSD-ports 1608145685 hal /z/VOL/ftp 1608145715 hal /z/VOL/FreeBSD-ports 1608145720 hal /z/SRC/FreeBSD/releng/12.2 1608148304 hal /z/release/FreeBSD-ports/amd64/packages-12 1608148333 hal /z/VOL/FreeBSD-ports 1608148364 gandalf /z/SRC/src.local 1608148531 gandalf /z/SRC/src.local 1608148859 gandalf /z/SRC/src.local 1608151096 gandalf /z/SRC/src.local 1608151236 gandalf /z/ss [0]# \rm /var/db/mounttab [0]# Expected result: - The autounmountd should remove one matching line from /var/db/mounttab whenever it times out a mount Note: - See also bug #251395. -- Martin -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"