Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2018 11:01:27 -0600
From:      Brad Davis <brd@FreeBSD.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r336845 - in head: etc etc/defaults etc/rc.d sbin/init sbin/init/rc.d
Message-ID:  <1532883687.1202573.1456550816.74531130@webmail.messagingengine.com>
In-Reply-To: <20180729154249.GG40119@kib.kiev.ua>
References:  <201807282036.w6SKaNSi037944@repo.freebsd.org> <20180729154249.GG40119@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 29, 2018, at 9:42 AM, Konstantin Belousov wrote:
> On Sat, Jul 28, 2018 at 08:36:23PM +0000, Brad Davis wrote:
> > Author: brd
> > Date: Sat Jul 28 20:36:23 2018
> > New Revision: 336845
> > URL: https://svnweb.freebsd.org/changeset/base/336845
> > 
> > Log:
> >   Move rc startup scripts from etc/ to sbin/init/
> Why all these moves are useful ?
> 
> No commit message explained what is the goal of the moves, and why
> it is better that way comparing the existing src/etc collection.

For pkg base we need to distill things out of etc/ and into places where they fit better.  This enables them to be pkged up with the parts of the system them belong with and the CONFS= tags them as config files so that pkg will know about them and be able to 3-way merge them.  This keeps the flexibility we have today with the many WITH_*/WITHOUT_* knobs.  Though it is not without trade offs, keeping all of one part of the system together is simpler and makes some maintenance easier.

> Moving startup scripts to sbin/init is at least dubious, IMO.
> Startup scripts has nothing to do with init(8), but this is the
> second-order question.

Do you have a better idea of a place for them?  This is the most logical place I could think of.


Regards,
Brad Davis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1532883687.1202573.1456550816.74531130>