From owner-freebsd-stable@freebsd.org Mon May 28 15:13:35 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40063EFCB60 for ; Mon, 28 May 2018 15:13:35 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F651739EC for ; Mon, 28 May 2018 15:13:34 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id w4SFDSaP026716 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 28 May 2018 17:13:28 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id w4SFDS66026713 for ; Mon, 28 May 2018 17:13:28 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 28 May 2018 17:13:28 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD stable Subject: Re: ldconfig(8) oddity on 11.2-BETA3? In-Reply-To: Message-ID: References: <20180527154219.GR88128@kib.kiev.ua> <20180528114427.GA32825@elch.exwg.net> User-Agent: Alpine 2.21.999 (BSF 260 2018-02-26) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2018 15:13:35 -0000 On Mon, 28 May 2018 15:24+0200, Trond Endrestøl wrote: > I can see one reason for not making /etc/rc.subr accessible inside > each chroot, and thus a copy of the ldconfig startup script, and that > is to prevent services from being started automatically within each > chroot. The latest commits to the synth repo forces synth to copy /etc/rc.subr and /etc/rc.d/ldconfig into each chroot. CommitDate: Fri May 25 08:16:19 2018 -0500 A new release might be imminent. Don't look at me, I'm just a synth luser. -- Trond. From owner-freebsd-stable@freebsd.org Mon May 28 15:38:09 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 960CCEFE007 for ; Mon, 28 May 2018 15:38:09 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (smtp.burggraben.net [IPv6:2a01:4f8:140:50a2::3:1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "ns.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C2027485C; Mon, 28 May 2018 15:38:09 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id 8BC486002F3; Mon, 28 May 2018 17:38:07 +0200 (CEST) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ufZpnBJIeO1o; Mon, 28 May 2018 17:37:55 +0200 (CEST) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS; Mon, 28 May 2018 17:37:55 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id E75C62730D; Mon, 28 May 2018 17:37:54 +0200 (CEST) Date: Mon, 28 May 2018 17:37:54 +0200 From: Christoph Moench-Tegeder To: freebsd-stable@freebsd.org Cc: ericbsd@freebsd.org Subject: Re: ldconfig(8) oddity on 11.2-BETA3? Message-ID: <20180528153754.GB32825@elch.exwg.net> Mail-Followup-To: freebsd-stable@freebsd.org, ericbsd@freebsd.org References: <20180527154219.GR88128@kib.kiev.ua> <20180528114427.GA32825@elch.exwg.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2018 15:38:09 -0000 ## Trond Endrestøl (Trond.Endrestol@fagskolen.gjovik.no): > The latest commits to the synth repo forces synth to copy /etc/rc.subr > and /etc/rc.d/ldconfig into each chroot. Aha! Yes, looking at https://github.com/jrmarino/synth/commit/465ab8d2133a9d1e15cbf46337a1a809f828495d I think the issue is solved: synth in it's current incarnation from our ports tree does not handle ports with USE_LDCONFIG in a way the ports tree expects it. Omitting rc.subr and rc.d from the ports build chroots may have it's merits - but I wonder what else may break when using an incomplete base system? Would using a pristine system with an empty rc.conf improve matters? Cc'ing Eric as the synth maintainer (as in port maintainer) - perhaps it's possible to backport that commit until the next release? (I'm not only "not a synth user", but also "rather inept with Ada"). Regards, Christoph -- Spare Space