> > Package: linux-image-2.6.26-2-486 > > Version: 2.6.26-15 > > Severity: normal > > On an idle system with nothing running except sshd, getty and 1 bash shell > > (1 user logged in - myself), the entropy buffer of > > /dev/random gets depleted very quick: > > zolder:/tmp# ./a.out ; while true ; do echo `date` `cat > > /proc/sys/kernel/random/entropy_avail` ; sleep 1 ; done0 > [...] > Now add strace to those commands. Do you see the problem?
Nope, works as expected: a.out ----- open("/dev/random", O_WRONLY) = 3 brk(0) = 0x87a4000 brk(0x87c7000) = 0x87c7000 ioctl(3, RNDADDENTROPY, 0x87a4008) = 0 cat /proc/sys/kernel/random/entropy_avail ----------------------------------------- open("/proc/sys/kernel/random/entropy_avail", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 read(3, "701\n"..., 32768) = 4 write(1, "701\n"..., 4701 ) = 4 read(3, ""..., 32768) = 0 Folkert van Heusden -- MultiTail er et flexible tool for å kontrolere Logfiles og commandoer. Med filtrer, farger, sammenføringer, forskeliger ansikter etc. http://www.vanheusden.com/multitail/ ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org