Public bug reported: On my KVM guests, rngd starts before the virtio /dev/hwrng device is ready, and promptly crashes.
I dont have any bug reporting tools on this system, but there should be enough information. Ubuntu Core 15.04 x64, dpkg edition systemd boot kernel 4.1.2 (not ubuntu, but very similar configuration) modular virtio_rng - same as in ubuntu kernel SSD backed which may make this problem more likely to show up (timing wise) Loading virtio_rng from initramfs seems to load it early enough to workaround the problem. root@infra1:~# systemctl status rng-tools ● rng-tools.service - (null) Loaded: loaded (/etc/init.d/rng-tools) Active: failed (Result: exit-code) since ma. 2015-07-13 19:40:31 CEST; 1min 33s ago Docs: man:systemd-sysv-generator(8) Process: 255 ExecStart=/etc/init.d/rng-tools start (code=exited, status=1/FAILURE) juli 13 19:40:31 infra1 systemd[1]: Starting (null)... juli 13 19:40:31 infra1 rng-tools[255]: Starting Hardware RNG entropy gatherer daemon: (Ha...nd) juli 13 19:40:31 infra1 rng-tools[255]: /etc/init.d/rng-tools: Cannot find a hardware RNG ...se. juli 13 19:40:31 infra1 systemd[1]: rng-tools.service: control process exited, code=exited...s=1 juli 13 19:40:31 infra1 systemd[1]: Failed to start (null). juli 13 19:40:31 infra1 systemd[1]: Unit rng-tools.service entered failed state. juli 13 19:40:31 infra1 systemd[1]: rng-tools.service failed. Hint: Some lines were ellipsized, use -l to show in full. ** Affects: rng-tools (Ubuntu) Importance: Undecided Status: New ** Tags: systemd-boot -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1474080 Title: KVM, virtio_rng, rngd starts before /dev/hwrng is up, promptly crashes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rng-tools/+bug/1474080/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs