[Pkg-sysvinit-devel] init.d/urandom : random-seed [patches]

John Denker jsd at av8n.com
Sat Sep 11 18:07:35 UTC 2010


Hi --

Last month there was a very nice discussion of init.d/urandom.

We identified several opportunities for improvement:
 1) The calculation of the filesize when saving random.seed 
  needs to be fixed.  It is wrong by a factor of 8.  
 2) The code that writes to /proc/sys/kernel/random/poolsize
  should be removed.  It is futile to write to a read-only file.
 3) The initial seeding should also be dependent on the date,
  as in "date +%s.%N > /dev/random"
 4) There is a question in the code, to which we know the answer.

My understanding of the discussion so far is that there is 100%
agreement that making these changes would be advantageous.
Implementing these changes is super-easy.

I was wondering what action has been taken.  I did some looking 
in the obvious places and did not see any tickets, let alone any 
patches submitted.  But perhaps I didn't look in the right places.

So the questino remains 
 -- Has anything been done about this?  
 -- Do I need to file bug reports on this myself, or is 
  there somebody else who would like to take care of it?

Patches are attached.  Nothing complicated or tricky.

Please let me know if you have any questions or suggestions.
Please keep me posted on any further developments.


More information about the Pkg-sysvinit-devel mailing list