Please consider merging branch rngd-robust of repo https://git.spwhitton.name/propellor
Several changes to the Sbuild.keypairInsecurelyGenerated property to make it more robust. Please see comments added by the diff.
done... however, that sleep 10 after killing rngd seems quite dodgy. --Joey
Thanks for looking at this, though looking as master you haven't actually merged my branch.
I'm reluctant to build in a lot of shell scripting logic to do better than
sleep 10. Do you think it would be worth writing a property that ensures that a process with a given pid file has been killed? Or just an action in the propellor monad?(Really merged now.)
A property would be good. Might could just use
start-stop-daemon.I just pushed a commit using
start-stop-daemonto myrobust-rngdbranch. I decided against factoring out as a property until another use case comes up. Please consider merging my branch, and then this todo will really be done.Thanks for introducing me to a nice tool.