Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 20:20:36 +0200
From:      George Kontostanos <gkontos.mail@gmail.com>
To:        Erwin Lansing <erwin@lansing.dk>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>, =?ISO-8859-1?Q?=D6zkan_KIRIK?= <ozkan.kirik@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org>, Gleb Smirnoff <glebius@freebsd.org>, FreeBSD Release Engineering Team <re@freebsd.org>, =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <des@freebsd.org>, Stefan Bethke <stb@lassitu.de>
Subject:   Re: FreeBSD 10 Beta2 /etc/rc.d/named script and /etc/defaults/rc.conf
Message-ID:  <CA%2BdUSyohJhCyMnTyGg0iCiFb_FiD5mVqo2YgG%2BsXsoF0vG=50Q@mail.gmail.com>
In-Reply-To: <868B00D6-101A-4B17-995F-A3E2AFE41908@lansing.dk>
References:  <CAAcX-AFJ__4CDz7%2BabFoRf%2BecrfOZRFXaos1sYnb85=k_BweEw@mail.gmail.com> <20131103220654.GU52889@FreeBSD.org> <6AA4A8E1-CBCE-4C87-A320-BB08EC76715F@lassitu.de> <CA%2BdUSypfj5Ja%2BKi1tikG19na7Dv96foW3HE%2BTEPaNYOUM9r5Cw@mail.gmail.com> <20131104083443.GZ52889@FreeBSD.org> <2B21E123-23BA-4E07-B9DD-9DE1CDE40D08@FreeBSD.org> <20131104163457.GJ52889@FreeBSD.org> <CA%2BdUSyp5JWskKU7_oMxuTsZekimtRs2A%2BmEZm=kS-87jNjF9yQ@mail.gmail.com> <868B00D6-101A-4B17-995F-A3E2AFE41908@lansing.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 6, 2013 at 3:59 PM, Erwin Lansing <erwin@lansing.dk> wrote:

>
>
> On 06/11/2013, at 14.22, George Kontostanos <gkontos.mail@gmail.com>
> wrote:
>
> On Mon, Nov 4, 2013 at 6:34 PM, Gleb Smirnoff <glebius@freebsd.org> wrote=
:
>
>> On Mon, Nov 04, 2013 at 12:11:02PM +0100, Erwin Lansing wrote:
>> E> > On Mon, Nov 04, 2013 at 01:41:01AM +0200, George Kontostanos wrote:
>> E> > G> > Am 03.11.2013 um 23:06 schrieb Gleb Smirnoff <
>> glebius@FreeBSD.org>:
>> E> > G> >
>> E> > G> > > On Sun, Nov 03, 2013 at 10:05:02PM +0200, =D6zkan KIRIK wrot=
e:
>> E> > G> > > =D6> Altough bind removed from FreeBSD 10 distribution,
>> "/etc/rc.d/named"
>> E> > G> > script
>> E> > G> > > =D6> still exists.
>> E> > G> > > =D6> and this script depends on "/etc/mtree/BIND.chroot.dist=
"
>> file but
>> E> > G> > there is
>> E> > G> > > =D6> no such file in source tree.
>> E> > G> > > =D6> I think this file was forgotten to be removed.
>> E> > G> > > =D6>
>> E> > G> > > =D6> And also, named_* definitions still exists in
>> /etc/defaults/rc.conf
>> E> > G> > file.
>> E> > G> > >
>> E> > G> > > Please review attached file that removes named from /etc.
>> E> > G> >
>> E> > G> > It would be great if the port would learn to install its own
>> script etc.
>> E> > G> > in time for that change. (Unless it=92s already there, and I=
=92m
>> just too blind
>> E> > G> > to see it.)
>> E> > G>
>> E> > G> No you are not blind. Installing bind from ports still relies on
>> the
>> E> > G> /etc/rc.d/named script.
>> E> >
>> E> > Erwin, can you please handle that?
>> E>
>> E> Things are much worse that this, the ports are completely written
>> under the assumption that there is a Bind in base, which of course would
>> already break with WITHOUT_BIND before Bind was completely removed.  It
>> will be hard to fix without breaking the installed base of 8 and 9.  Sig=
h.
>> E>
>> E> I'll try to work on it this week, but unfortunately have a full
>> schedule of meetings and travel as well.
>>
>
> Suggestion. An option to install the rc script would solve that problem.
>
>
>
> If only it was that simple, it would have been done a long time ago.  As
> Gleb points out, the ports are broken by design.  The rc script needs a
> complete rewrite, and that's only after fixing all configuration files,
> setting up chroot, etc etc and all that while not breaking the installed
> base on 8 and 9.  I spent most of yesterday on this and if I'm lucky, I'm
> halfway through.
>
> Erwin, sent from a phone at the train station
>
>
Thank you all for your effort!

--=20
George Kontostanos
---
http://www.aisecure.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BdUSyohJhCyMnTyGg0iCiFb_FiD5mVqo2YgG%2BsXsoF0vG=50Q>