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

Rick Macklem <[email protected]> Thu, 21 May 2026 20:17:34 -0700
Newsgroups gmane.os.freebsd.devel.file-systems
Message-ID <CAM5tNy5DY5Rhj7XWrEQB3XVLnb9fLeeKG2RF1X6buhkJ0sDsCw@mail.gmail.com>
On Thu, May 21, 2026 at 8:13 PM Freddie Cash <[email protected]> wrote:
>
> 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.

Good point. The export lines should be in either /etc/exports or
/etc/zfs/exports,
but not both of them.

rick