From owner-freebsd-rc@freebsd.org Mon Aug 8 14:33:58 2016 Return-Path: Delivered-To: freebsd-rc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBCE9BB1DB8 for ; Mon, 8 Aug 2016 14:33:58 +0000 (UTC) (envelope-from kargl@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F3F915F9 for ; Mon, 8 Aug 2016 14:33:58 +0000 (UTC) (envelope-from kargl@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id u78EXqTs050391 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 8 Aug 2016 07:33:52 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id u78EXpB4050390; Mon, 8 Aug 2016 07:33:52 -0700 (PDT) (envelope-from kargl) Date: Mon, 8 Aug 2016 07:33:51 -0700 From: "Steven G. Kargl" To: Chris Rees Cc: kargl@uw.edu, freebsd-rc@freebsd.org Subject: Re: NFS-mounted /usr/local and ldconfig Message-ID: <20160808143351.GA50203@troutmask.apl.washington.edu> Reply-To: kargl@uw.edu References: <20160610214443.GA48014@troutmask.apl.washington.edu> <986155BA-C3ED-4FAE-93CB-B7739491DEE0@physics.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <986155BA-C3ED-4FAE-93CB-B7739491DEE0@physics.org> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2016 14:33:58 -0000 On Mon, Aug 08, 2016 at 03:07:25PM +0100, Chris Rees wrote: > On 10 June 2016 22:44:43 BST, "Steven G. Kargl" wrote: > >I recently updated a cluster to FreeBSD 11.0-CURRENT r300782M, > >and noticed on rebooting one of the nodes that ldconfig -r > >does not include any of the libraries on an NFS-mounted > >/usr/local. Has a change been made to the rc scripts that > >has ldconfig running to mounting of all filesystems in > >/etc/fstab? Where's the best place to insert an command > >of the form 'ldconfig -R /usr/local/lib' to pick up the > >libraries? > > > Hi Steve, > > Just curious, are you mounting with these NFS mounts from fstab? Yes. The fstab entry is node10:/usr/local /usr/local nfs rw,noatime 0 0 where node10 is defined in /etc/hosts. node10 is up and running well before any of the systems that have an NFS mounted /usr/local are booted. > Are they marked late? No. > https://reviews.freebsd.org/D6621 > > This hit SVN late May, matching your timing. From reading the > code, I think making the mounts late would stop mountcritremote > working correctly. > > I'm assuming this wasn't a problem before, so it looks as though > rcorder was confused on your system before this fix. > > If nothing works, rc.local should suffice for your ldconfig linei > for the time being. Thanks for the pointer. Fortunately, the cluster is only rebooted every 3 to 6 months when I do a complete upgrade (kernel, world and ports). I'll keep this in mind for the next maintenance window. -- steve > >-- > >Steve > >http://troutmask.apl.washington.edu/~kargl/ > >_______________________________________________ > >freebsd-rc@freebsd.org mailing list > >https://lists.freebsd.org/mailman/listinfo/freebsd-rc > >To unsubscribe, send any mail to "freebsd-rc-unsubscribe@freebsd.org" > > > > > >-- > >This message has been scanned for viruses and > >dangerous content by MailScanner, and is > >believed to be clean. > > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > -- Steve http://troutmask.apl.washington.edu/~kargl/