Date: Mon, 28 Jul 2014 08:55:34 -0400 (EDT) From: Rick Macklem <rmacklem@uoguelph.ca> To: "Russell L. Carter" <rcarter@pinyon.org> Cc: net@freebsd.org Subject: Re: nfsd spam in /var/log/messages Message-ID: <43564051.4211288.1406552134888.JavaMail.root@uoguelph.ca> In-Reply-To: <53D5BD71.40108@pinyon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to > "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43564051.4211288.1406552134888.JavaMail.root>