From owner-svn-src-head@freebsd.org Wed Jun 6 08:26:01 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 2795BFECF02; Wed, 6 Jun 2018 08:26:01 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A6B756A683; Wed, 6 Jun 2018 08:26:00 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd23.aul.t-online.de (fwd23.aul.t-online.de [172.20.26.128]) by mailout08.t-online.de (Postfix) with SMTP id D1ABF41C667B; Wed, 6 Jun 2018 10:25:52 +0200 (CEST) Received: from Stefans-MBP-10.fritz.box (Vmk3SiZ-Qh4lIgbptkRbg1fUMN9Kp7NDi6zscK7uXDjs-9ulbCdJgexvCh-de8AgYA@[84.154.104.94]) by fwd23.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1fQTlO-0gc1tw0; Wed, 6 Jun 2018 10:25:50 +0200 Subject: Re: svn commit: r334617 - in head: . etc To: Brad Davis , Renato Botelho , Konstantin Belousov Cc: src-committers , Kyle Evans , svn-src-all@freebsd.org, rgrimes@freebsd.org, svn-src-head@freebsd.org, Alexander Leidinger 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> From: Stefan Esser Openpgp: preference=signencrypt Autocrypt: addr=se@freebsd.org; prefer-encrypt=mutual; keydata= xsBNBFVxiRIBCADOLNOZBsqlplHUQ3tG782FNtVT33rQli9EjNt2fhFERHIo4NxHlWBpHLnU b0s4L/eItx7au0i7Gegv01A9LUMwOnAc9EFAm4EW3Wmoa6MYrcP7xDClohg/Y69f7SNpEs3x YATBy+L6NzWZbJjZXD4vqPgZSDuMcLU7BEdJf0f+6h1BJPnGuwHpsSdnnMrZeIM8xQ8PPUVQ L0GZkVojHgNUngJH6e21qDrud0BkdiBcij0M3TCP4GQrJ/YMdurfc8mhueLpwGR2U1W8TYB7 4UY+NLw0McThOCLCxXflIeF/Y7jSB0zxzvb/H3LWkodUTkV57yX9IbUAGA5RKRg9zsUtABEB AAHNKVN0ZWZhbiBFw59lciAoWWFob28hKSA8c3QuZXNzZXJAeWFob28uZGU+wsCWBBMBCgBA AhsDBwsJCAcDAgEGFQgCCQoLBBYCAwECHgECF4AWIQSjceplnAvsyCtxUxNH67XvWv31RAUC WvLvqwUJCyUBEwAKCRBH67XvWv31REySCACc6vqcSFQCRyBRc2CV5ZBjbbnTy7VBoXbUS3/c 4Hn8I0YQ39q7//2z8vYsgLeM1mMXL4PUIU/0f0dBAFBLpxV7bntGzyCJls6SeGS/qcQKhqaI 6I7NcWg8OkIJIhUL6q238cS1ql9pU65fyHe0PP8JS08m81PDpX2/4wTE6h2jgYUy55eXRzoF MEjr1S8SSnidsBem27o7iWu9ltJsUtE86071iZlLzbuHv2nvucrjAV9cK9tHrxYT/YiY8QhT L48iWj2xIjLjg1ebmgIFZ2k881we/KTIoUugqOOR1gDSc4qwM8CA388cN3frjtl98CwhAT5T UV8tIDqri+/Z1AKwzsBNBFVxiRIBCACxI/aglzGVbnI6XHd0MTP05VK/fJub4hHdc+LQpz1M kVnCAhFbY9oecTB/togdKtfiloavjbFrb0nJhJnx57K+3SdSuu+znaQ4SlWiZOtXnkbpRWNU eMm+gtTDMSvloGAfr76RtFHskdDOLgXsHD70bKuMhlBxUCrSwGzHaD00q8iQPhJZ5itb3WPq z3B4IjiDAWTO2obD1wtAvSuHuUj/XJRsiKDKW3x13cfavkad81bZW4cpNwUv8XHLv/vaZPSA ly+hkY7NrDZydMMXVNQ7AJQufWuTJ0q7sImRcEZ5EIa98esJPey4O7C0vY405wjeyxpVZkpq ThDMurqtQFn1ABEBAAHCwHwEGAEKACYCGwwWIQSjceplnAvsyCtxUxNH67XvWv31RAUCWvLv qwUJCyUBGQAKCRBH67XvWv31RLnrB/9gzcRlpx71sDMosoZULWn7wysBJ/8AIEfIByRaHQe3 pn/KwE57pB+zFbbQqB7YzeZb7/UUgR4zU2ZbOcEfwDZcHUbj0B3fGRsS3t0uiLlAd8w0sBZb SxrqzjdpDjIbOZkxssqUmvrsN67UG1AFWH9aD24keBS7YjPBS8hLxPeYV+Xz6vUL8fRZje/Z JgiBMIwyj6g2lH/zkdnxBdC0iG1xxJOLTaghMMeQyCdH6ef8+VMyAlAJsMckbOTvx63tY8z7 DFcrnTJfbe1EziRilVsEaK8tTzJzhcTfos+f3eBYWEilxe5HzIhYKJeC7lmsSUcGwa6+9VRg a0ctmi9Z8OgX Message-ID: Date: Wed, 6 Jun 2018 10:25:49 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1528231416.2440607.1397619456.294EF898@webmail.messagingengine.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ID: Vmk3SiZ-Qh4lIgbptkRbg1fUMN9Kp7NDi6zscK7uXDjs-9ulbCdJgexvCh-de8AgYA X-TOI-MSGID: ec25db48-2a1c-42e8-b3f7-481222979b6a 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: Wed, 06 Jun 2018 08:26:01 -0000 Am 05.06.18 um 22:43 schrieb Brad Davis: > > 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 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. >> >> 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? > > Correct. I have for a long time (decades?) applied local changes to files in src/etc which (very seldom) may need a conflict resolution, and which make sure that /etc is populated with files that match my needs. It is easy to change a file in /etc until it works as desired and then copy it to src/etc, where it is subject to updating via SVN, but still reflects my preferences. With the move to source directories it will be necessary to modify rc files and other configuration file defaults (e.g. ttys) in a number of places. E.g., mergemaster will try to remove the shells installed from ports from /etc/shells on each run and quite a number of other files will either never be automatically updated (by excluding them from mergemaster runs) or on every invocation of mergemaster, unless patched in their respective source directories spread over the whole source tree. This is a BIG step backwards from my PoV, since src/etc currently is the equivalent of FreeBSD's concept of using /etc/rc.conf for configuration of all applicable system settings. Having sources of all files that are going to be installed in /etc (when a new system is setup or by mergemaster) is equivalent in the sense that the location where changes have to be applied is confined to just one directory, src/etc (and a few architecture dependent sub-directories). Regards, STefan