Date: Thu, 7 Jun 2018 02:29:45 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Konstantin Belousov <kostikbel@gmail.com> Cc: Ian Lepore <ian@freebsd.org>, src-committers <src-committers@FreeBSD.org>, Kyle Evans <kevans@FreeBSD.org>, svn-src-all@FreeBSD.org, Brad Davis <brd@FreeBSD.org>, rgrimes@FreeBSD.org, svn-src-head@FreeBSD.org, Alexander Leidinger <Alexander@leidinger.net>, Eugene Grosbein <eugen@grosbein.net> Subject: Re: svn commit: r334617 - in head: . etc Message-ID: <20180607002945.noqhxo6cjli7jayh@ivaldir.net> In-Reply-To: <20180606202720.GD2450@kib.kiev.ua> References: <201806061833.w56IXWBC006288@pdx.rh.CN85.dnsmgr.net> <1528315608.25377.3.camel@freebsd.org> <20180606202720.GD2450@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--dr74blaw63tj45yp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 06, 2018 at 11:27:20PM +0300, Konstantin Belousov wrote: > On Wed, Jun 06, 2018 at 02:06:48PM -0600, Ian Lepore wrote: > > On Wed, 2018-06-06 at 11:33 -0700, Rodney W. Grimes wrote: > > > >=20 > > > >=20 > > > > On Tue, Jun 5, 2018, at 1:28 PM, Konstantin Belousov wrote: > > > > >=20 > > > > > On Wed, Jun 06, 2018 at 01:39:00AM +0700, Eugene Grosbein wrote: > > > > > >=20 > > > > > > 06.06.2018 1:26, Konstantin Belousov wrote: > > > > > >=20 > > > > > > >=20 > > > > > > > >=20 > > > > > > > > >=20 > > > > > > > > > I find it often very useful to do > > > > > > > > > =A0(cd src/etc/rc.d && make install) > > > > > > > > > Same for defaults and several other directories which in > > > > > > > > > fact > > > > > > > > > contains> > >>> non-editable content.=A0=A0Is this planne= d to > > > > > > > > > keep working ? > > > > > > > > The short answer is, no.=A0=A0All 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?=A0=A0Ju= st > > > > > > > > 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. > > > > > > >=20 > > > > > > > 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. > > > > > > >=20 > > > > > > > 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.=A0=A0Whatever 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.=A0=A0Yes,= 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. > > >=20 > >=20 > > I don't understand the drama over this.=A0=A0rc.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. >=20 > I agree with this, but the scripts are installed into /etc. >=20 > I proposed to move them somewhere, e.g. to /sbin/rc* or to /libexec/rc*. > If moved first, then the proposed change would be much more logical and > probably easier to fit into the workflows of FreeBSD consumers. IMHO would be a good idea! Bapt --dr74blaw63tj45yp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlsYfHUACgkQY4mL3PG3 PlqXIhAAqZu3mXLlJDWiVaRLk7YRiChPna4dEcQUjlgubzM0rdyPwob1/jxFsIul bIIvcB0iYgXLM1N3FRzzZheS4WwA66QpwPOLdyR/l86AuBSfVvxDuVziEhXNzELb 0o1zmuLL5vXZs+J+FodfXI/b5pksXhTzg4/TR+96t2GEiDq5AOozjdgzp4vGiV61 F4HzplGJCT2nQGD6Fh/nYH9IjaSBtiZDtJdUaFXo8lGELZsmcCzV6HF7+xOLmNcY yuEmmerHuEsXz6acAZGGwSlEL0wXKCR4rI4z+x8B38SvkSzDglSurtLnqc5+YR0w mc+8jeySl0rHMZHAAYLnBmH4DE8yrjTX3pjevl1SGxKa+3XyT75XA+NsSBa4wZ/Z LeS8XRkpqrNV+LbX5SEnVZgjI5Mcbavkh8jz4UnLLaSsyLZMtt5wIBRbRV82DftF /QyfZpqv235x8TKJN1P1V3wH+uI/aNevgy1Z7YbPSVSHbGS0Ajg1S3G8fgaUYA1N Ufi29OGtbQp0rwJ8xE7jqbWkjPXR6U1rl3ZXMLTJXUASUvBqqt6mS067nb88fkBV ID2u3I4AB8pGLW2JdGKAhJZTId2Tm3a5QuF0bZ14s98ZplbhTJ6EiCCDgWrK3MLc zqcZ38bGB7KrebxAhS9+11MeKvT9TEGv7ZbLK+sKFrchzZgoTe4= =TWMt -----END PGP SIGNATURE----- --dr74blaw63tj45yp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180607002945.noqhxo6cjli7jayh>