svn commit: r334617 - in head: . etc

Brad Davis brd at FreeBSD.org
Fri Jun 8 12:17:53 UTC 2018


On Thu, Jun 7, 2018, at 10:38 PM, Bryan Drewery wrote:
>
>
> > On Jun 5, 2018, at 16:43, Brad Davis <brd at FreeBSD.org> 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 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.
> >
>
> This makes no sense. Many rc scripts, and other config files, have no> “owner” outside of etc/...
>
> Please don’t 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


More information about the svn-src-head mailing list