From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 14:38:33 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAAB016A4CE for ; Tue, 8 Feb 2005 14:38:33 +0000 (GMT) Received: from backup.rmm.fr (backup.rmm.fr [195.115.46.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFBA743D41 for ; Tue, 8 Feb 2005 14:38:32 +0000 (GMT) (envelope-from bsd@todoo.biz) Received: from localhost (localhost [127.0.0.1]) by backup.rmm.fr (Postfix) with ESMTP id 244AE60EB for ; Tue, 8 Feb 2005 15:38:31 +0100 (CET) Received: from backup.rmm.fr ([127.0.0.1]) by localhost (backup [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 36699-01 for ; Tue, 8 Feb 2005 15:38:29 +0100 (CET) Received: from [10.0.1.90] (d009.dhcp212-198-114.noos.fr [212.198.114.9]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by backup.rmm.fr (Postfix) with ESMTP id E4E3560C4 for ; Tue, 8 Feb 2005 15:38:28 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v619.2) Content-Transfer-Encoding: quoted-printable Message-Id: <365b15da0d47b600ccf5fff25e3f440f@todoo.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed To: Liste FreeBSD From: bsd@todoo.biz Date: Tue, 8 Feb 2005 15:38:27 +0100 X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: by amavisd-new at rmm.fr Subject: Problem with mknod for /dev/random => jailed bind configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 14:38:33 -0000 Hello, I've tried to configure a bind server in a chroot jail and am facing a=20= problem with /dev/random Thaugh I've read the man mknod I have to say that this didn't help me=20 in solving the problem. When I start named with the -g switch here are the error. > 08-Feb-2005 15:18:22.551 errno2result.c:109: unexpected error: > 08-Feb-2005 15:18:22.551 unable to convert errno to isc_result: 6:=20 > Device not configured > 08-Feb-2005 15:18:22.551 could not open entropy source /dev/random:=20 > unexpected error > 08-Feb-2005 15:18:22.551 using pre-chroot entropy source /dev/random I've used the following mknod command : mknod /var/named/dev/null c 2 2 mknod /var/named/dev/random c 2 3 and also tried : mknod random c 245 0 mknod null c 2 2 I've chmod 666 the two files and make shure they are owned by bind:bind=20= // ?? Any help will be welcome. ______________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gr=E9gory Bernard 11, rue de la Tour Directeur 75116 Paris France www.ToDoo.biz tel : +(33) 1 40 26 43 14 ______________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF PGP ID --> 0x1BA3C2FD "All parts should go together without forcing. You must remember that=20 the parts you are reassembling were disassembled by you. Therefore, if=20= you can't get them together again, there must be a reason. By all=20 means, do not use hammer." -- IBM maintenance manual, 1975