Comment 2 for bug 947041

Revision history for this message
Kasper Dupont (ubuntu-launchpad-feb) wrote :

I noticed another bug in the same script. The two calls of dd to save the seed during boot and shutdown will truncate the pool before writing new data. This will cause a small time window during which the seed only exists in RAM and not on permanent storage. If the system was to crash or lose power during that time window, all the entropy collected since the system was first installed would be lost. Using conv=notrunc would avoid this problem.