Snapping haveged?

Hi all,
I need more entropy on my snappy core system. Right now I get it by
manually starting ‘sudo haveged’ in classic.
Has anyone snapped haveged yet?

  • Dan

to get more entropy you should be able to raise the rng_core.default_quality value of the kernel by editing the kernel cmdline (if your core is using u-boot that would be):

ogra@localhost:~$ fw_printenv snappy_cmdline
snappy_cmdline=rng_core.default_quality=700 net.ifnames=0 init=/lib/systemd/systemd ro panic=-1 fixrtc
ogra@localhost:~$ sudo fw_setenv snappy_cmdline 'rng_core.default_quality=800 net.ifnames=0 init=/lib/systemd/systemd ro panic=-1 fixrtc'
ogra@localhost:~$ fw_printenv snappy_cmdline
snappy_cmdline=rng_core.default_quality=800 net.ifnames=0 init=/lib/systemd/systemd ro panic=-1 fixrtc
ogra@localhost:~$ 

(and reboot, to make the change take effect obviously)