From owner-svn-src-all@freebsd.org Fri Jun 8 04:38:13 2018 Return-Path: Delivered-To: svn-src-all@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 DE237100FA0C; Fri, 8 Jun 2018 04:38:12 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 82EFF71AF1; Fri, 8 Jun 2018 04:38:12 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 5BFCCE9AB; Fri, 8 Jun 2018 04:38:12 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 1746C38E; Fri, 8 Jun 2018 04:38:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id X2abkydYbHFg; Fri, 8 Jun 2018 04:38:08 +0000 (UTC) Content-Type: text/plain; charset=utf-8 DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 667D438B Mime-Version: 1.0 (1.0) Subject: Re: svn commit: r334617 - in head: . etc From: Bryan Drewery X-Mailer: iPhone Mail (15E302) In-Reply-To: <1528231416.2440607.1397619456.294EF898@webmail.messagingengine.com> Date: Fri, 8 Jun 2018 00:38:05 -0400 Cc: Renato Botelho , Konstantin Belousov , src-committers , Kyle Evans , svn-src-all@freebsd.org, rgrimes@freebsd.org, svn-src-head@freebsd.org, Alexander Leidinger Content-Transfer-Encoding: quoted-printable Message-Id: References: <201806041847.w54IlCUu097084@pdx.rh.CN85.dnsmgr.net> <1528138550.3632147.1396107464.614818A8@webmail.messagingengine.com> <20180605150022.Horde.emnJxb8rKYqAvChLgWoX9vf@webmail.leidinger.net> <1528212242.2273706.1397239144.6BEBF1F9@webmail.messagingengine.com> <20180605164627.GM2450@kib.kiev.ua> <1528222385.2736229.1397446048.17853CA8@webmail.messagingengine.com> <20180605182605.GN2450@kib.kiev.ua> <1528231416.2440607.1397619456.294EF898@webmail.messagingengine.com> To: Brad Davis X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2018 04:38:13 -0000 > On Jun 5, 2018, at 16:43, Brad Davis wrote: >=20 >=20 > On Tue, Jun 5, 2018, at 1:07 PM, Renato Botelho wrote: > > On 05/06/18 15:26, Konstantin Belousov wrote: > > > On Tue, Jun 05, 2018 at 12:13:05PM -0600, Brad Davis wrote: > > >> On Tue, Jun 5, 2018, at 10:46 AM, Konstantin Belousov wrote: > > >>> I find it often very useful to do > > >>> (cd src/etc/rc.d && make install) > > >>> Same for defaults and several other directories which in fact contai= ns > > >>> non-editable content. Is this planned to keep working ? > > >> > > >> The short answer is, no. All rc.d scripts get moved to the src of th= e program they start. > > >> > > >> That said, if there is a big need for this, we can see about options t= o keep them working. > > >> > > >> What are you trying to accomplish when you do this? Just verify the r= c.d scripts match your src tree? > > > > > > I avoid mergemaster/etcupdate and whatever else. rc.d and /etc/rc, > > > /etc/rc.subr /etc/rc.network are not suitable to etc, they are binarie= s > > > provided by the project not for the user editing. > > > > > > When upgrading the host, esp. on HEAD, i usually refresh scripts by th= is > > > procedure and avoid any editing and implied conflict resolution for re= al > > > configs. > > > > > > Not being able to easily install clean copies of these scripts would > > > be very inconvenient and time consuming. > > > > If I understood what Brad is saying, each rc.d script will be installed > > by the application it belongs to. So when it's installing SSH it will > > also install /etc/rc.d/sshd and you will not need to deal with rc.d > > files on mergemaster anymore. > > > > Is it correct, Brad? >=20 > Correct.=20 >=20 This makes no sense. Many rc scripts, and other config files, have no =E2=80= =9Cowner=E2=80=9D outside of etc/... Please don=E2=80=99t kill etc/Makefile. This is going to be very painful to d= eal with downstream. >=20 > Regards, > Brad Davis