Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2012 13:30:20 -0700
From:      <dteske@freebsd.org>
To:        "'Jeremie Le Hen'" <jlh@FreeBSD.org>, "'Devin Teske'" <dteske@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, Devin Teske <dteske@freebsd.org>, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   RE: svn commit: r241149 - in head/usr.sbin: . bsdconfig/share sysrc
Message-ID:  <032001cda1a5$e95303e0$bbf90ba0$@freebsd.org>
In-Reply-To: <20121003165831.GA25291@felucia.tataz.chchile.org>
References:  <201210030232.q932Wlfs044296@svn.freebsd.org> <20121003165831.GA25291@felucia.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> -----Original Message-----
> From: Jeremie Le Hen [mailto:jlh@FreeBSD.org]
> Sent: Wednesday, October 03, 2012 9:59 AM
> To: Devin Teske
> Cc: src-committers@freebsd.org; svn-src-all@freebsd.org; svn-src-
> head@freebsd.org
> Subject: Re: svn commit: r241149 - in head/usr.sbin: . bsdconfig/share sysrc
> 
> Hi Devin,
> 
> On Wed, Oct 03, 2012 at 02:32:47AM +0000, Devin Teske wrote:
> > Author: dteske
> > Date: Wed Oct  3 02:32:47 2012
> > New Revision: 241149
> > URL: http://svn.freebsd.org/changeset/base/241149
> >
> > Log:
> >   Import sysutils/sysrc from the ports tree (current version 5.1). Importing
> >   disconnected under the WITH_BSDCONFIG flag (a good idea since this version
> of
> >   sysrc(8) indeed requires the `sysrc.subr' module installed by
bsdconfig(8)).
> >
> >   Multiple reasons sysrc should not simply continue to live in ports. The
most
> >   important being that it is tightly coupled with the base.
> >
> >   Approved by:	adrian (co-mentor)
> 
> Don't you expect to MFC this?
> 

Neither bsdconfig(8) nor sysrc(8) are actually shipping with FreeBSD _yet_, so
there's technically nothing to MFC (other than disconnected code).

Currently, at the time of this writing, you need to use WITH_BSDCONFIG when
compiling/installing the operating system from source to get this great
software.

The suggestion to import this code "disconnected" was made by both Julian and
phk based on the fact that nobody was available (after months of waiting,
searching, and pleading) to review the >20k lines of code.

Furthermore, the code should not be "connected" (taking away the need to set
WITH_BSDCONFIG to get this software) until bsdconfig(8) can function as a "full
and complete" replacement to sysinstall(8). Currently, what's missing from
bsdconfig(8) that makes it a less-than-ideal replacement for sysinstall is:

a. The lack of package management (discussions on -hackers led to the
predisposition that we should focus our efforts on embracing PKGNG)

b. help-file integration ("*.help" files used by sysinstall(8) need to be
brought over and hooked-into bsdconfig(8))

When those two tasks are done, then bsdconfig(8) will be ready to take on
active-duty as *the* replacement to sysinstall(8) -- meaning, we'll remove the
need to have WITH_BSDCONFIG declared).

At that moment, bsdconfig(8) ought to be a candidate for MFC -- but until then,
the only thing an MFC buys me is double-work maintaining two disconnected
branches instead of one.

For those that want to test bsdconfig(8) and sysrc(8) on a STABLE release, never
fear: you can simply execute the following to install these to any release (but
do note that bsdconfig(8) requires dialog(1) from 9.0 or higher):

# Assuming /usr/src holds a HEAD release
cd /usr/src/usr.sbin/bsdconfig
make all install
cd ../sysrc
make all install

Last, but not least, you may be asking what bsdconfig(8) has to do with
sysrc(8). Quite simply, sysrc(8) requires /usr/share/bsdconfig/sysrc.subr
as-provided by bsdconfig(8).
-- 
Devin

_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?032001cda1a5$e95303e0$bbf90ba0$>