From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=DMARC_REJECT, MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from todd-server.doonga.net (h0000e85749b9.ne.mediaone.net [24.60.249.115]) by chiba.3jane.net (Postfix) with SMTP id 62336201606A for ; Thu, 7 Mar 2002 02:03:44 -0600 (CST) Received: (qmail 16855 invoked from network); 7 Mar 2002 07:54:52 -0000 Received: from unknown (HELO todd-laptop) (192.168.0.254) by mail.doonga.net with SMTP; 7 Mar 2002 07:54:52 -0000 Date: Thu, 07 Mar 2002 02:59:37 -0500 From: Todd Punderson To: gentoo-dev@gentoo.org Message-Id: <20020307020701.B6B4.TODD@doonga.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.00.08 Subject: [gentoo-dev] bind-9.1.3-r7 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: a6983b96-6176-4d14-bf25-1a552fed6149 X-Archives-Hash: a3054bb7cfc4e81b22e437945788b5cd I did a update --world tonight and I also ran into this. It's probably destined for bugzilla, but I wanted to ask first. After updating to bind-9.1.3-r7 I had a problem getting it to run. I determined the problem to be the following. The named startup script executes this: start-stop-daemon --start --quiet --exec /usr/sbin/named -- -u named -n 1 Since named switches to uid 'named' it doesn't have access to write to /var/run/named.pid However, I noticed that there is now a /var/run/named dir that is owned by named.named...This is all well and good but the named binary doesn't try to write it's pidfile to that directory and bombs. I looked in the ebuild and the bind documentation and there is a way to configure it to point to another directory: on the configure script it needs --localstatedir=/var/run/named instead of --localstatedir=/var but this also means that the /etc/init.d/named script needs to be edited to point to /var/run/named/run/named.pid for the stop portion of it. Maybe the extra 'run' in there could be edited out with by modifing the bind source, I didn't dig that far, I just need it running. :) Also /var/bind needs to be owned by named.named in order for the zone files to be read (since I did an upgrade, this bit me, it may not on a new install) -- Todd Punderson