From owner-freebsd-current@FreeBSD.ORG Wed Nov 6 18:20:37 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6443E687; Wed, 6 Nov 2013 18:20:37 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1B996226C; Wed, 6 Nov 2013 18:20:37 +0000 (UTC) Received: by mail-pa0-f47.google.com with SMTP id lf10so29797pab.20 for ; Wed, 06 Nov 2013 10:20:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=N9iIk9aHcPmkKn4dVAdjBrA0RBK+C+wZcajKUMV9ZWk=; b=Yx/Z99hlYwi7gNpxloDX6rN8H5I0gQBz3DxlyArY1mLZdDjOXj8a77s6paWRyfPzTi 5cWHlFt07sshCi9KkHsmY2h7GEllLfInTITbOaOXUzET9yBxexxuuCLnkRGAGGbdRZfn veGh6fOcSssqjZdIuaeTinyuuwsfN3o9S3QM8fEtuO00nHTvxusRMtfxHXj2sJxZg140 2Mi+2TceZpan8mjh/NQqNpA7EwOASQxP/ZOjTQWmPgGFCZlatbqN7dWF14FhGodFoV2r 9iwI9J1nMB9JOTalLLyGlUK22oFuXkQFQg3fwFN3YmTaYCW7TyTo8e8T0x85pK/tRvwD 9REg== MIME-Version: 1.0 X-Received: by 10.66.123.5 with SMTP id lw5mr5166301pab.83.1383762036523; Wed, 06 Nov 2013 10:20:36 -0800 (PST) Received: by 10.68.248.106 with HTTP; Wed, 6 Nov 2013 10:20:36 -0800 (PST) In-Reply-To: <868B00D6-101A-4B17-995F-A3E2AFE41908@lansing.dk> References: <20131103220654.GU52889@FreeBSD.org> <6AA4A8E1-CBCE-4C87-A320-BB08EC76715F@lassitu.de> <20131104083443.GZ52889@FreeBSD.org> <2B21E123-23BA-4E07-B9DD-9DE1CDE40D08@FreeBSD.org> <20131104163457.GJ52889@FreeBSD.org> <868B00D6-101A-4B17-995F-A3E2AFE41908@lansing.dk> Date: Wed, 6 Nov 2013 20:20:36 +0200 Message-ID: Subject: Re: FreeBSD 10 Beta2 /etc/rc.d/named script and /etc/defaults/rc.conf From: George Kontostanos To: Erwin Lansing Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-stable , =?ISO-8859-1?Q?=D6zkan_KIRIK?= , FreeBSD Current , Gleb Smirnoff , FreeBSD Release Engineering Team , =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= , Stefan Bethke X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2013 18:20:37 -0000 On Wed, Nov 6, 2013 at 3:59 PM, Erwin Lansing wrote: > > > On 06/11/2013, at 14.22, George Kontostanos > wrote: > > On Mon, Nov 4, 2013 at 6:34 PM, Gleb Smirnoff 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