Re: FreeBSD 10 Beta2 /etc/rc.d/named script and /etc/defaults/rc.conf

From: George Kontostanos <gkontos.mail_at_gmail.com>
Date: Wed, 6 Nov 2013 20:20:36 +0200
On Wed, Nov 6, 2013 at 3:59 PM, Erwin Lansing <erwin_at_lansing.dk> wrote:

>
>
> On 06/11/2013, at 14.22, George Kontostanos <gkontos.mail_at_gmail.com>
> wrote:
>
> On Mon, Nov 4, 2013 at 6:34 PM, Gleb Smirnoff <glebius_at_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_at_FreeBSD.org>:
>> E> > G> >
>> E> > G> > > On Sun, Nov 03, 2013 at 10:05:02PM +0200, Özkan KIRIK wrote:
>> E> > G> > > Ö> Altough bind removed from FreeBSD 10 distribution,
>> "/etc/rc.d/named"
>> E> > G> > script
>> E> > G> > > Ö> still exists.
>> E> > G> > > Ö> and this script depends on "/etc/mtree/BIND.chroot.dist"
>> file but
>> E> > G> > there is
>> E> > G> > > Ö> no such file in source tree.
>> E> > G> > > Ö> I think this file was forgotten to be removed.
>> E> > G> > > Ö>
>> E> > G> > > Ö> 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’s already there, and I’m
>> 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.  Sigh.
>> 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!

-- 
George Kontostanos
---
http://www.aisecure.net
Received on Wed Nov 06 2013 - 17:20:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC