From owner-freebsd-net@FreeBSD.ORG Mon Jul 28 03:12:49 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1DBE3F91 for ; Mon, 28 Jul 2014 03:12:49 +0000 (UTC) Received: from quine.pinyon.org (quine.pinyon.org [65.101.5.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB54D2895 for ; Mon, 28 Jul 2014 03:12:48 +0000 (UTC) Received: by quine.pinyon.org (Postfix, from userid 122) id C7905160364; Sun, 27 Jul 2014 20:03:15 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on quine.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from feyerabend.n1.pinyon.org (feyerabend.n1.pinyon.org [10.0.10.6]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by quine.pinyon.org (Postfix) with ESMTPSA id B474016020E for ; Sun, 27 Jul 2014 20:03:13 -0700 (MST) Message-ID: <53D5BD71.40108@pinyon.org> Date: Sun, 27 Jul 2014 20:03:13 -0700 From: "Russell L. Carter" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: net@freebsd.org Subject: nfsd spam in /var/log/messages X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2014 03:12:49 -0000 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: V4: /export -sec=sys -network 10.0.10 -mask 255.255.255.0 /export/usr/src -maproot=root /export/usr/obj -maproot=root /export/usr/ports -maproot=root /export/packages -maproot=root /export/library -maproot=root 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