Subject: Re: chrooted bind9 needs random dev
To: None <current-users@netbsd.org>
From: Stefan Kr\"uger <space7@meinberlikomm.de>
List: current-users
Date: 05/21/2004 11:33:07
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?