[Bug 289485] Spitting out "Invalid argument" while accessing directories prevents "debootstrap" and "linux-brave" to work properly...

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 16 Sep 2025 20:48:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289485

Sean Farley <scf@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |scf@FreeBSD.org

--- Comment #9 from Sean Farley <scf@FreeBSD.org> ---
A wild guess, but I wonder if this is related to
https://cgit.freebsd.org/src/commit/?h=stable/14&id=9a3edc8d5dbcb896179cfa7867f961184e146a09:

    zfs readdir: if there were no dirents to copy out, return EINVAL same as
UFS
    ...

I was led to that by a fix to nfsd in
https://cgit.freebsd.org/src/commit/?h=stable/14&id=b84156e7f136792d3a34f5338635e5b41b256b4f:

    nfsd: Fix the NFSv4 Readdir operation for an empty ZFS dir
    Commit 9a3edc8 modified the behaviour of ZFS's
    VOP_READDIR() such that it will reply EINVAL for
    an offset past EOF on the directory.
    ...

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