On Fri, Nov 02, 2007 at 07:31:22AM +0000, Stuart Henderson wrote:
> On 2007/11/01 22:46, J.D. Carlson wrote:
> > 
> > I have ignored them, for a number of years and never worried about
> > it.  But management dictates we move to Men and Mice to manage dns.
> > If I run their DNS Server Controller under linux emulation and the
> > OpenBSD named is running as a chroot, it looks for a /dev/random or 
> > /dev/arandom inside the chroot.  It fails if it is not there:
> > 
> >  Men and Mice DNS Server Controller for BIND[32343]: Unable to 
> >  initalize crypting library. Random device not readable.
> > 
> > So my choice was to give up OpenBSD as our name servers (never!) and
> > run Linux or FreeBSD (also never!), or run OBSD named without 
> > the chroot.  It seemed like a compromise I could live with.
> 
> There's nothing magic about device nodes, you can just create
> them yourself. See mknod(1) and /dev/MAKEDEV.
> 
To have them work the partition can not be mounted nodev, which /var is. I
shoukd have said it fails if it doesn't work.  A simple test was to run

dd if=/var/dev/arandom bs=1 count=5 

after I created the device. It fails if the partition is mounted nodev.

Reply via email to