Comment 6 for bug 1848923

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: pollinate.service fails to start: ERROR: should execute as the [pollinate] user

Hallo Martin!
o/

Let us split this into

#A
"Not needing it anymore" is a separate discussion that I'll trigger internally.
IMHO not all consumers of e.g. libvirt have followed and if specifying devices at all libvirt will not (as it does with some other things) add virtio-rng. I'd personally more like to see a "check if good RNG is available, and if so don't act" than completely removing it. But that is up for discussion ...

and into

#B
On recreating this I see the same that Paride does ?!?:
@Martin how are you starting your images to fail the way you see it, any command line worth to share? Maybe no or only special network to make it fail?
I attached how I started my test systems.

BareMetal:
$ systemctl status pollinate
● pollinate.service - Pollinate to seed the pseudo random number generator
     Loaded: loaded (/lib/systemd/system/pollinate.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Thu 2021-02-04 13:18:00 UTC; 18h ago
       Docs: https://launchpad.net/pollinate
   Main PID: 892 (code=exited, status=0/SUCCESS)

Feb 04 13:17:59 node-horsea systemd[1]: Starting Pollinate to seed the pseudo random number generator...
Feb 04 13:18:00 node-horsea systemd[1]: pollinate.service: Succeeded.
Feb 04 13:18:00 node-horsea systemd[1]: Finished Pollinate to seed the pseudo random number generator.

Focal KVM Guest booting cloud image:
● pollinate.service - Pollinate to seed the pseudo random number generator
     Loaded: loaded (/lib/systemd/system/pollinate.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Fri 2021-02-05 07:57:52 UTC; 1min 54s ago
       Docs: https://launchpad.net/pollinate
   Main PID: 664 (code=exited, status=0/SUCCESS)

Feb 05 07:57:51 f-pol systemd[1]: Starting Pollinate to seed the pseudo random number generator...
Feb 05 07:57:51 f-pol pollinate[710]: client sent challenge to [https://entropy.ubuntu.com/]
Feb 05 07:57:52 f-pol pollinate[740]: client verified challenge/response with [https://entropy.ubuntu.com/]
Feb 05 07:57:52 f-pol pollinate[747]: client hashed response from [https://entropy.ubuntu.com/]
Feb 05 07:57:52 f-pol pollinate[748]: client successfully seeded [/dev/urandom]
Feb 05 07:57:52 f-pol systemd[1]: pollinate.service: Succeeded.
Feb 05 07:57:52 f-pol systemd[1]: Finished Pollinate to seed the pseudo random number generator.

Hirsute KVM Guest booting cloud image:
ubuntu@h-pol:~$ systemctl status pollinate
● pollinate.service - Pollinate to seed the pseudo random number generator
     Loaded: loaded (/lib/systemd/system/pollinate.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Fri 2021-02-05 07:57:41 UTC; 2min 11s ago
       Docs: https://launchpad.net/pollinate
   Main PID: 659 (code=exited, status=0/SUCCESS)

Feb 05 07:57:40 h-pol systemd[1]: Starting Pollinate to seed the pseudo random number generator...
Feb 05 07:57:41 h-pol pollinate[710]: client sent challenge to [https://entropy.ubuntu.com/]
Feb 05 07:57:41 h-pol pollinate[758]: client verified challenge/response with [https://entropy.ubuntu.com/]
Feb 05 07:57:41 h-pol pollinate[765]: client hashed response from [https://entropy.ubuntu.com/]
Feb 05 07:57:41 h-pol pollinate[766]: client successfully seeded [/dev/urandom]
Feb 05 07:57:41 h-pol systemd[1]: pollinate.service: Succeeded.
Feb 05 07:57:41 h-pol systemd[1]: Finished Pollinate to seed the pseudo random number generator.