From owner-svn-src-all@freebsd.org Wed Jun 6 20:07:00 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 DFABEFE1665 for ; Wed, 6 Jun 2018 20:06:59 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 5BB34854A0 for ; Wed, 6 Jun 2018 20:06:59 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-RoutePath: aGlwcGll X-MHO-User: 257793c3-69c5-11e8-8837-614b7c574d04 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id 257793c3-69c5-11e8-8837-614b7c574d04; Wed, 06 Jun 2018 20:06:51 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w56K6mkh041751; Wed, 6 Jun 2018 14:06:48 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1528315608.25377.3.camel@freebsd.org> Subject: Re: svn commit: r334617 - in head: . etc From: Ian Lepore To: rgrimes@FreeBSD.org, Brad Davis Cc: Konstantin Belousov , Eugene Grosbein , Alexander Leidinger , Kyle Evans , src-committers , svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org Date: Wed, 06 Jun 2018 14:06:48 -0600 In-Reply-To: <201806061833.w56IXWBC006288@pdx.rh.CN85.dnsmgr.net> References: <201806061833.w56IXWBC006288@pdx.rh.CN85.dnsmgr.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Wed, 06 Jun 2018 20:07:00 -0000 On Wed, 2018-06-06 at 11:33 -0700, Rodney W. Grimes wrote: > > > > > > On Tue, Jun 5, 2018, at 1:28 PM, Konstantin Belousov wrote: > > > > > > On Wed, Jun 06, 2018 at 01:39:00AM +0700, Eugene Grosbein wrote: > > > > > > > > 06.06.2018 1:26, 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 etc, 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. > > > > I found that "mergemaster -iFUP" deals with unchanged files > > > > including mentioned rc* scripts just fine.> > That is, it > > > > automatically refreshes unchanged files without any > > > > silly questions just for change of $FreeBSD$.> > > > No, you missed the point.  Whatever nice is the handling of > > > unchanged files,> use of mergemaster forces me to handle changed > > > files, which is exactly> what I do not want/need to do.  Yes, I > > > update crashboxes very > > > often, and> I want to get all new code, including the startup > > > scripts, when > > > I update. > > The startup scripts will be installed as part of installworld. > So each installworld would wipe over the top of any localmod > /etc/rc.d/ and other stuff > that mght exist? > One of the reasons that etc/Makefile is detached from Installword is > so that > /etc does not get perturbuted unless specifically requested. > I don't understand the drama over this.  rc.d startup scripts are *binaries*. Users are not expected to modify the system installed binaries, and if they do, it is expected that the next installworld will replace them with the system binaries again. -- Ian