Date: Mon, 8 Aug 2016 07:33:51 -0700 From: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu> To: Chris Rees <crees@physics.org> Cc: kargl@uw.edu, freebsd-rc@freebsd.org Subject: Re: NFS-mounted /usr/local and ldconfig Message-ID: <20160808143351.GA50203@troutmask.apl.washington.edu> In-Reply-To: <986155BA-C3ED-4FAE-93CB-B7739491DEE0@physics.org> References: <20160610214443.GA48014@troutmask.apl.washington.edu> <986155BA-C3ED-4FAE-93CB-B7739491DEE0@physics.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 08, 2016 at 03:07:25PM +0100, Chris Rees wrote: > On 10 June 2016 22:44:43 BST, "Steven G. Kargl" <kargl@troutmask.apl.washington.edu> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160808143351.GA50203>