Subject: Re: chrooted bind9 needs random dev
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 05/21/2004 15:41:57
In article <20040521141453.GR7308@mewburn.net>,
Luke Mewburn <lukem@NetBSD.org> wrote:
>-=-=-=-=-=-
>
>On Fri, May 21, 2004 at 11:33:07AM +0000, Stefan Kruger wrote:
>  | Karol Mares wrote:
>  | 
>  | >* space7@meinberlikomm.de (space7@meinberlikomm.de) wrote:
>  | >
>  | >>Hi folks,
>  | >>
>  | >>I found the following in /var/log/messages:
>  | >>
>  | >>May 18 15:20:23 localhost named[189]: could not open entropy source 
>  | >>/dev/random: file not found
>  | >>May 18 15:20:23 localhost named[189]: using pre-chroot entropy source 
>  | >>/dev/random
>  | >>
>  | >>Any objections adding random to /var/chroot/named/dev?
>  | >
>  | >
>  | >Nope, go forward, u need /dev/random for generating rndc key for
>  | >TSIG-style authentification, etc..., so
>  | >
>  | >mknod /var/chroot/named/dev/random c 39 0; chmod 444
>  | >/var/chroot/named/random 
>  | >
>  | >regards,
>  | >
>  | >km
>  | can't this be done automagically by /etc/rc.d/named?
>
>Yes.
>Please submit a PR asking for this, so we don't forget.
>
>Cheers,
>Luke.

I just fixed it.

christos