nfsd spam in /var/log/messages
Rick Macklem
rmacklem at uoguelph.ca
Mon Jul 28 12:55:42 UTC 2014
Russell L. Carter wrote:
> Hi,
>
> Still a newbie here after more than ae decade off. This is most
> likely a stupid question but I have invested an inordinate amount of
> effort to figure it out with no success. That is, I have not
> resorted
> to digging down into the source code to understand the error message.
> I will do so if I am the first person to ever see this. So the
> question(s):
>
> In order to support my linux NFSv4 clients AND my freebsd-current
> clients, after an extended boring trial and error session I ended up
> with a freebsd server /etc/exports:
>
> # Linux can mount nfsv4 ONLY if the line is exactly as
> # follows:
Assuming /export is one file system on the server, put all
the exports in a single entry, something like:
V4: /export -sec=sys -network 10.0.10 -mask 255.255.255.0
/export/usr/src /export/usr/obj /export/usr/ports /export/packages /export/library -maproot=root
OR you can just allow the clients to mount any location
within the server file system using -alldirs like:
V4: /export -sec=sys -network 10.0.10 -mask 255.255.255.0
/export -alldirs -maproot=root
At least I think I got this correct;-) rick
> This isn't about security so avert your eyes from the maproots. The
> security holes here are galaxy wide, I know. There's even wifi
> access
> to this network! Clutch yer perls.
>
> Here is an example of the /var/log/messages spam:
>
> Jul 27 11:19:32 terpsichore mountd[669]: bad exports list line
> /export/usr/obj
> Jul 27 11:19:32 terpsichore mountd[669]: can't change attributes for
> /export/usr/src: MNT_DEFEXPORTED already set for mount
> 0xfffff8022c3fdcc0
>
> How do I stop this? I have iterated through many possibilities,
> to no avail.
>
> Best,
> Russell
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to
> "freebsd-net-unsubscribe at freebsd.org"
>
More information about the freebsd-net
mailing list