Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2005 15:38:27 +0100
From:      bsd@todoo.biz <bsd@todoo.biz>
To:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Problem with mknod for /dev/random => jailed bind configuration
Message-ID:  <365b15da0d47b600ccf5fff25e3f440f@todoo.biz>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?365b15da0d47b600ccf5fff25e3f440f>