[Bug 284914] autofs(4) confuses fts(3)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Feb 2025 07:20:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284914

--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=e59991206b1463b7e85cc8aafde7f1dc03fcedcf

commit e59991206b1463b7e85cc8aafde7f1dc03fcedcf
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-02-21 13:07:43 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-02-25 07:09:29 +0000

    fts(3): be less strict when automount does its job under us walking autofs
mount

    Namely, allow the file id change if the resulting file belongs to
    automounted filesystem.  If it is, remember the updated id.

    This allows the ids from the automounted volumes to change without
    restrictions, might be a further refinement would be to only allow such
    inconsistency once.

    PR:     284914
    Reported and tested by: Lexi Winter <lexi@hemlock.eden.le-fay.org>
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D49094

 lib/libc/gen/fts.c | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

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