On 03/23/2011 12:24 PM, Jameson Rollins wrote:
> Do we have any idea what changed that caused these devices to not get
> created properly during debootstrap?  Or does this have something to do
> with our custom /dev creation?

These are not real device nodes.  They cannot be, because they are
created by a non-privileged user.

Under fakeroot, "mknod /dev/random" and "mknod /dev/urandom" are
actually created as normal files, but the fakerootstate records that
they are supposed to be device nodes.

However, this doesn't make it possible to read from them.

What's worse, it seems difficult to do a simple approach like symlinking
them to the actual kernel-back device nodes due to the fact that we're
operating within a chroot.

I'm open to suggestions about how to handle it.  The properties we'd
need for a real fix are:

 0) during the "debirf make" process, the files should produce quality
randomness.

 1) once built, the initramfs should only see the files as actual device
nodes

        --dkg

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to