From owner-freebsd-isp Sun Oct 15 4:27:12 2000 Delivered-To: freebsd-isp@freebsd.org Received: from siafu.iconnect.co.ke (upagraha.iconnect.co.ke [209.198.248.2]) by hub.freebsd.org (Postfix) with ESMTP id 5F26837B502 for ; Sun, 15 Oct 2000 04:27:02 -0700 (PDT) Received: from [212.22.163.2] (helo=poeza.iconnect.co.ke) by siafu.iconnect.co.ke with esmtp (Exim 2.12 #1) id 13klvS-00070K-00 for freebsd-isp@freebsd.org; Sun, 15 Oct 2000 14:25:58 +0300 Received: from wash by poeza.iconnect.co.ke with local (Exim 3.16 #1) id 13klxb-000Hnt-00 for freebsd-isp@freebsd.org; Sun, 15 Oct 2000 14:28:11 +0300 Date: Sun, 15 Oct 2000 14:28:11 +0300 From: Odhiambo Washington To: freebsd-isp@freebsd.org Subject: Re: running bind -u bind -g bind Message-ID: <20001015142811.C68094@poeza.iconnect.co.ke> Mail-Followup-To: Odhiambo Washington , freebsd-isp@freebsd.org References: <4.3.2.7.0.20001015092357.0290b0a0@wallace.webmatic.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <4.3.2.7.0.20001015092357.0290b0a0@wallace.webmatic.de>; from "Thomas Krause, CI" on Sun, Oct 15, 2000 at 09:54:57AM +0200 X-Operating-System: FreeBSD poeza.iconnect.co.ke 3.5-STABLE FreeBSD 3.5-STABLE X-Mailer: Mutt http://www.mutt.org/ X-URL: web.iconnect.co.ke/users/wash X-Accept-Language: en fr X-Editor: Pico http://www.washington.edu/ X-Location: Mombasa, Kenya, East Africa X-Uptime: 2:18PM up 6 days, 17:06, 1 user, load averages: 0.05, 0.02, 0.00 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Thomas Krause, CI [20001015 10:55]: => =>Hi all, => =>I set up in rc.conf => =>named_enable="YES" =>named_flags="-u bind -g bind" => =>to run named not as root. => =>root@kraxon:/ # ps axw | grep named =>23473 ?? Ss 0:00.03 named -u bind -g bind => =>Fine. But when I'm doing a 'named.reload' I get in syslog: => =>Oct 15 09:30:22 kraxon named[82]: reloading nameserver =>Oct 15 09:30:22 kraxon named[82]: couldn't create pid file '/var/run/named.pid' => =>And after a 'named.restart', named is running as root: => =>root@kraxon:/ # named.restart =>new pid is 230 =>root@kraxon:/ # ps axw | grep named => 230 ?? Ss 0:00.09 /usr/sbin/named => =>in named.conf I have: => =>controls { => unix "/var/run/ndc" perm 0600 owner 53 group 53; =>}; => =>Any Ideas, how to reload the named? =>I'm using FreeBSD 4.1.1-R Hi I am running FreeBSD 4.1.1-STABLE and in my rc.conf I have alouette# uname -msr FreeBSD 4.1.1-STABLE i386 [snip] named_enable="YES" named_flags="-u bind -g bind" [snip] And When I restart named I get same message. Checking on /var/run shows that the pid file is owned by bind.bind ...does that give a clue? I am no UNIX guru either but I think this could be the clue because all other files are owned by root. On another server I do not run named with flags and the files are owned by root and ndc reload (named.reload) gives no such message. Maybe we need more reading on the effects of using the named_flags??? And my named is running as bind, not root... alouette# ps -auxc | grep named bind 98 0.0 1.1 2176 1776 ?? Is 11:56AM 0:00.02 named -Wash -- Odhiambo Washington Inter-Connect Ltd., wash@iconnect.co.ke 5th Flr Furaha Plaza Tel: 254 11 222604 Nkrumah Rd., Fax: 254 11 222636 PO Box 83613 MOMBASA, KENYA. As a computer, I find your faith in technology amusing. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message