From owner-freebsd-net@FreeBSD.ORG Fri Jan 27 16:54:29 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C13716A420 for ; Fri, 27 Jan 2006 16:54:29 +0000 (GMT) (envelope-from gkozyrev@ukr.net) Received: from computer.ukrsat.com (computer.ukrsat.com [212.35.160.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC68943DB7 for ; Fri, 27 Jan 2006 16:54:28 +0000 (GMT) (envelope-from gkozyrev@ukr.net) Received: from gleb.kozyrev.name (juli.slnet.kiev.ua [195.49.149.86]) by computer.ukrsat.com (8.12.8/8.12.8) with SMTP id k0RGckHu026993; Fri, 27 Jan 2006 18:39:01 +0200 Received: from Gleb ([127.0.0.1]) by Gleb (192.168.48.1) with smtp ; Fri, 27 Jan 2006 18:54:46 +0200 Message-ID: <000801c62362$5f0c5a10$0130a8c0@Gleb> From: "Gleb Kozyrev" To: "FreeBSD MailList" , References: <1623226562.20060126170150@osk.com.ua> Date: Fri, 27 Jan 2006 18:54:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 FL-Build: Fidolook 2002 (SL) 6.0.2800.94 - 5/4/2005 11:39:16 Cc: Subject: Re: Named could not listen on UDP socket: permission denied X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 16:54:29 -0000 Oleg Tarasov wrote to on Thu, 26 Jan 2006 17:01:50 +0200: OT> I run FreeBSD 6.0 and I have begun to recieve quite periodic error OT> messages like these: OT> Jan 25 19:45:50 central named[728]: could not listen on UDP socket: permission denied OT> Jan 25 19:45:50 central named[728]: creating IPv4 interface ng0 failed; OT> interface ignored OT> ng0 is my main internet interface and is created on early boot OT> (rcordered like ppp-user) by mpd. Certainly, I need DNS listening on OT> this interface. OT> The reason is that if mpd is restarted for some reason, interface ng0 OT> is destroyed and created again while listener on this interface is OT> destroyed too. Named is chrooted at this time and cannot re-bind OT> listener on this interface. Only manual restart of named helps it bind OT> to this interface. OT> This is not deadly situation as if I manually restart mpd I will be OT> able to restart named too... OT> Running named under root user or out of chroot environment is not OT> quite acceptable way... OT> Please tell me if this problem has a solution other then above Maybe this can help you: -- With best regards, Gleb Kozyrev.