From owner-freebsd-rc@freebsd.org Mon Aug 8 14:08:07 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 B48ACBB15C0 for ; Mon, 8 Aug 2016 14:08:07 +0000 (UTC) (envelope-from crees@physics.org) Received: from mail50c50.megamailservers.eu (mail150c50.megamailservers.eu [91.136.10.160]) (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 2E5DD133D for ; Mon, 8 Aug 2016 14:08:05 +0000 (UTC) (envelope-from crees@physics.org) X-Authenticated-User: bayofrum.uwclub.net Received: from pegasus.bayofrum.net (host-2-102-107-215.as13285.net [2.102.107.215]) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id u78E7p6E014854; Mon, 8 Aug 2016 14:07:54 +0000 Received: from android-2959dc0305d63573.bayofrum.net (android-2959dc0305d63573.bayofrum.net [192.168.1.104]) by pegasus.bayofrum.net (Postfix) with ESMTPSA id 3EFAF259E0; Mon, 8 Aug 2016 15:07:47 +0100 (BST) User-Agent: K-9 Mail for Android In-Reply-To: <20160610214443.GA48014@troutmask.apl.washington.edu> References: <20160610214443.GA48014@troutmask.apl.washington.edu> MIME-Version: 1.0 Subject: Re: NFS-mounted /usr/local and ldconfig From: Chris Rees Date: Mon, 08 Aug 2016 15:07:25 +0100 To: kargl@uw.edu, "Steven G. Kargl" , freebsd-rc@freebsd.org Message-ID: <986155BA-C3ED-4FAE-93CB-B7739491DEE0@physics.org> X-bayofrum-MailScanner-Information: Please contact the ISP for more information X-bayofrum-MailScanner-ID: 3EFAF259E0.A3330 X-bayofrum-MailScanner: Found to be clean X-bayofrum-MailScanner-From: crees@physics.org X-Spam-Status: No X-CTCH-RefID: str=0001.0A0B0202.57A8923B.0129, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.1 cv=CLATA3bD c=1 sm=1 tr=0 a=gnEd2jr+W6Uf6vcWOdKyNg==:117 a=gnEd2jr+W6Uf6vcWOdKyNg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=7z1cN_iqozsA:10 a=6I5d2MoRAAAA:8 a=eII3itv0AAAA:8 a=vORNxO5-BG9j6QJxfRsA:9 a=QEXdDO2ut3YA:10 a=P0S6o3SJAAAA:8 a=8ROn61eQ23Dp6wXp8ngA:9 a=IqnwcxPuEH32Lv2K:21 a=_W_S_7VecoQA:10 a=-FEs8UIgK8oA:10 a=NWVoK91CQyQA:10 a=NWVoK91CQySWRX1oVYDe:22 a=PElWl26apYe9z2G_WOx8:22 a=IjZwj45LgO3ly-622nXo:22 a=AsKu7GQUwgx2_x4fsibc:22 a=WH_0ghv6r2uJcVQkXlWi:22 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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:08:07 -0000 Hi Steve, Just curious, are you mounting with these NFS mounts from fstab? Are they marked late? 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 line for the time being. Chris 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? > >-- >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. 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/