From owner-svn-src-head@freebsd.org Fri Jun 8 12:17:53 2018 Return-Path: Delivered-To: svn-src-head@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 5858310198B0; Fri, 8 Jun 2018 12:17:53 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 B2DA67FDD5; Fri, 8 Jun 2018 12:17:52 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2721C2183D; Fri, 8 Jun 2018 08:17:52 -0400 (EDT) Received: from web2 ([10.202.2.212]) by compute5.internal (MEProxy); Fri, 08 Jun 2018 08:17:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=HtMXp+ +fbMJ5B0q1r8AFhasvAt6acovJ/R/76vH/4uk=; b=emaYNfek90lE44j/P0vfOO tbqievQD1xisGLmwY58GDOnplOjr0kmGdHmj2M6in1U608IB4Pe2Bm+3z5x+zBgc FhUO2Y67sW6tSTzqX43lEcyrBN5T9B/lDA0VBjIIxKHHVywm1QQvWc9YdOWvcx0m xlA4UJaBQpq7NHo/je5kNOdAQq97KQ/tW4KOalUz2Ulg2t6UEWgJp/SfdtUL5zGe Y51ADQBa/RxUlJuLr4Lf/skzcWDzaVypmIho28nMHm/pM5OxITxo7+rmX/lqc0iQ 8+TyRiA+pyMW90kF1Uhb4C8RnAM+jyCKPCCS1HcKLIhl4kpwMstGfhJH2016Ew0g == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id D3F26621E6; Fri, 8 Jun 2018 08:17:51 -0400 (EDT) Message-Id: <1528460271.2913956.1400918032.76248AFF@webmail.messagingengine.com> From: Brad Davis To: Bryan Drewery Cc: Renato Botelho , Konstantin Belousov , "src-committers" , Kyle Evans , svn-src-all@freebsd.org, rgrimes@freebsd.org, svn-src-head@freebsd.org, Alexander Leidinger MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface - ajax-ca618090 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> In-Reply-To: Date: Fri, 08 Jun 2018 06:17:51 -0600 Subject: Re: svn commit: r334617 - in head: . etc Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2018 12:17:53 -0000 On Thu, Jun 7, 2018, at 10:38 PM, Bryan Drewery wrote: > > > > On Jun 5, 2018, at 16:43, Brad Davis wrote: > > > > > > 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 > > > >>> contains> > > >>> non-editable content. Is this planned to keep = working ? > > > >> > > > >> The short answer is, no. All rc.d scripts get moved to the src > > > >> of the program they start.> > > >> > > > >> That said, if there is a big need for this, we can see about > > > >> options to keep them working.> > > >> > > > >> What are you trying to accomplish when you do this? Just > > > >> verify the rc.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 et= c, they are > > > > binaries> > > > provided by the project not for the user editing. > > > > > > > > When upgrading the host, esp. on HEAD, i usually refresh scripts > > > > by this> > > > procedure and avoid any editing and implied conflict= resolution > > > > for real> > > > 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 install= ing SSH it > > > will> > > also install /etc/rc.d/sshd and you will not need to deal w= ith > > > rc.d> > > files on mergemaster anymore. > > > > > > Is it correct, Brad? > > > > Correct. > > > > 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 deal> with downstream. I was wrong. We moved startup scripts under sbin/init. So this would be easy to merge. Regards, Brad Davis