In /etc/rc.sysinit I see:
---
# Initialize pseudo-random number generator
if [ -f "/var/lib/random-seed" ]; then
cat /var/lib/random-seed > /dev/urandom
else
[ "$READONLY" != "yes" ] && touch /var/lib/random-seed
fi
if [ "$READONLY" != "yes" ]; then
chmod 600 /var/lib/random-seed
dd if=/dev/urandom of=/var/lib/random-seed count=1 bs=512
2>/dev/null
fi
---
I don't see any mention of it in /etc/rwtab. But in /etc/init.d/halt I
see:
---
# Save random seed
touch /var/lib/random-seed
chmod 600 /var/lib/random-seed
runcmd $"Saving random seed: " dd if=/dev/urandom
of=/var/lib/random-seed count=1 bs=512 2>/dev/null
---
Which gives an error since it is read-only. Should the halt program do
the same as rc.sysinit, or should this file go in /etc/rwtab?
Thanks,
-cdm
_______________________________________________
Stateless-list mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/stateless-list