Re: bad exports list line message happening suddenly on 15-stable after buildworld/kernel upgrade

Freddie Cash <[email protected]> Thu, 21 May 2026 20:13:31 -0700
Newsgroups gmane.os.freebsd.devel.file-systems
Message-ID <CAOjFWZ6DO-A_8G5YHKDfCwQdwxQ71EOkYVnw5F+Fh12xsJ6a=Q@mail.gmail.com>
On Thu, May 21, 2026, 4:41 p.m. void <[email protected]> wrote:

> Hi,
>
> I'm seeing these lines appear in /var/log/messages on the nfs server:
>
> ===
> May 21 17:17:30 desktop mountd[34297]: can't change attributes for
> /external20tb/04: netcred already exists for given addr/mask
> May 21 17:17:30 desktop mountd[34297]: can't change attributes for
> /external20tb/00: netcred already exists for given addr/mask
> May 21 17:17:30 desktop mountd[34297]: bad exports list line
> '/external20tb/00        -maproot'
> May 21 17:17:30 desktop mountd[34297]: can't change attributes for
> /external20tb/02: netcred already exists for given addr/mask
> May 21 17:17:30 desktop mountd[34297]: bad exports list line
> '/external20tb/02        -maproot'
> May 21 17:17:30 desktop mountd[34297]: can't change attributes for
> /external20tb/04: netcred already exists for given addr/mask
> May 21 17:17:30 desktop mountd[34297]: bad exports list line
> '/external20tb/04        -maproot'
> ===
>
> The exports actually work, in that they can be used by clients laptop1 and
> rpi4b
>
> They are zfs sharenfs dirs.
>
> /etc/exports looks like this :
>
> ===
> /external20tb/00        -maproot=root -alldirs laptop1 rpi4b
> /external20tb/02        -maproot=root -alldirs laptop1 rpi4b
> /external20tb/04        -maproot=root -alldirs laptop1 rpi4b
> ===
>
> /etc/zfs/exports is identical
>

Shouldn't it be either/or, not the same info in both? Since the ZFS exports
file is just concatenated with the non-ZFS exports file. You're duplicating
each line.