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

            Bug ID: 284914
           Summary: autofs(4) confuses fts(3)
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: b...@freebsd.org
          Reporter: l...@hemlock.eden.le-fay.org

the first time an autofs(4) filesystem is mounted, fts(3) (e.g., find(1) or
du(1)) will fail to traverse it.  running the same command a second time works
correctly.

# df /home/ft
Filesystem    512-blocks Used Avail Capacity  Mounted on
map auto_home          0    0     0   100%    /home

# find /home/ft
/home/ft
/home/ft/.mutt_header_cache-lock
/home/ft/.ssh
/home/ft/.ssh/authorized_keys
/home/ft/.ssh/known_hosts
/home/ft/.ssh/known_hosts.old
find: fts_read: No such file or directory

# df /home/ft
Filesystem      512-blocks Used      Avail Capacity  Mounted on
/export/home/ft 1719233272  752 1719232520     0%    /home/ft

# find /home/ft
/home/ft
/home/ft/.mutt_header_cache-lock
/home/ft/.ssh
/home/ft/.ssh/authorized_keys
/home/ft/.ssh/known_hosts
/home/ft/.ssh/known_hosts.old
/home/ft/.k5login
/home/ft/.vimrc
/home/ft/.zcompdump
/home/ft/Mail
/home/ft/Mail/new
/home/ft/Mail/new/1730888987.V2b6429de6e936a53Idf1d2M757967.hemlock.eden.le-fay.org
[...]

this is repoducible every time, as long as the filesystem is not mounted.

/etc/auto_master:

/home           auto_home       -nosuid

/etc/auto_home:

*       -fstype=nullfs :/export/home/&

using src f5aff1871d3273b3cd3621ea5d3e37cdd807e66f on amd64, /export/home is a
ZFS filesystem.

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

Reply via email to