2019-10-20 10:48:20 |
Martin Pitt |
bug |
|
|
added bug |
2019-10-20 10:48:32 |
Martin Pitt |
nominated for series |
|
Ubuntu Eoan |
|
2019-10-20 10:48:32 |
Martin Pitt |
bug task added |
|
pollinate (Ubuntu Eoan) |
|
2019-10-20 10:48:42 |
Martin Pitt |
tags |
|
eoan regression-release |
|
2019-10-20 10:49:05 |
Martin Pitt |
description |
In a standard Ubuntu 19.10 cloud image install, pollinate fails to start:
● pollinate.service - Pollinate to seed the pseudo random number generator
Loaded: loaded (/lib/systemd/system/pollinate.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2019-10-20 12:17:10 EEST; 3 months 4 days ago
Docs: https://launchpad.net/pollinate
Main PID: 665 (code=exited, status=1/FAILURE)
Oct 20 12:17:10 ubuntu systemd[1]: Starting Pollinate to seed the pseudo random number generator...
Oct 20 12:17:10 ubuntu pollinate[708]: ERROR: should execute as the [pollinate] user
Oct 20 12:17:10 ubuntu systemd[1]: pollinate.service: Main process exited, code=exited, status=1/FAILURE
Oct 20 12:17:10 ubuntu systemd[1]: pollinate.service: Failed with result 'exit-code'.
Oct 20 12:17:10 ubuntu systemd[1]: Failed to start Pollinate to seed the pseudo random number generator.
The user does exist:
# id pollinate
uid=110(pollinate) gid=1(daemon) groups=1(daemon)
and the unit has "User=pollinate"
This happens outside of systemd as well:
# sudo -u pollinate /usr/bin/pollinate
<13>Jan 24 09:31:05 pollinate[21456]: ERROR: should execute as the [pollinate] user
set -x shows why:
+ [ ! -w /var/cache/pollinate ]
+ error should execute as the [pollinate] user
This directory doesn't exist. So (1) this is a bad error message, and (2) pollinate.service is missing "CacheDirectory=pollinate". When adding that, it works. |
In a standard Ubuntu 19.10 cloud image install, pollinate fails to start:
● pollinate.service - Pollinate to seed the pseudo random number generator
Loaded: loaded (/lib/systemd/system/pollinate.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2019-10-20 12:17:10 EEST; 3 months 4 days ago
Docs: https://launchpad.net/pollinate
Main PID: 665 (code=exited, status=1/FAILURE)
Oct 20 12:17:10 ubuntu systemd[1]: Starting Pollinate to seed the pseudo random number generator...
Oct 20 12:17:10 ubuntu pollinate[708]: ERROR: should execute as the [pollinate] user
Oct 20 12:17:10 ubuntu systemd[1]: pollinate.service: Main process exited, code=exited, status=1/FAILURE
Oct 20 12:17:10 ubuntu systemd[1]: pollinate.service: Failed with result 'exit-code'.
Oct 20 12:17:10 ubuntu systemd[1]: Failed to start Pollinate to seed the pseudo random number generator.
The user does exist:
# id pollinate
uid=110(pollinate) gid=1(daemon) groups=1(daemon)
and the unit has "User=pollinate"
This happens outside of systemd as well:
# sudo -u pollinate /usr/bin/pollinate
<13>Jan 24 09:31:05 pollinate[21456]: ERROR: should execute as the [pollinate] user
set -x shows why:
+ [ ! -w /var/cache/pollinate ]
+ error should execute as the [pollinate] user
This directory doesn't exist. So (1) this is a bad error message, and (2) pollinate.service is missing "CacheDirectory=pollinate". When adding that, it works.
pollinate 4.33-2ubuntu1 |
|
2021-02-03 13:53:47 |
OR |
bug |
|
|
added subscriber OR |
2021-02-03 13:54:29 |
Launchpad Janitor |
pollinate (Ubuntu): status |
New |
Confirmed |
|
2021-02-03 13:54:29 |
Launchpad Janitor |
pollinate (Ubuntu Eoan): status |
New |
Confirmed |
|
2021-02-04 12:33:13 |
Paride Legovini |
pollinate (Ubuntu Eoan): status |
Confirmed |
Won't Fix |
|
2021-02-04 12:33:18 |
Paride Legovini |
pollinate (Ubuntu): status |
Confirmed |
Incomplete |
|
2021-02-04 12:47:52 |
Martin Pitt |
pollinate (Ubuntu): status |
Incomplete |
Triaged |
|
2021-02-05 08:07:39 |
Christian Ehrhardt |
attachment added |
|
test guest confix, not failing pollinate in the guest https://bugs.launchpad.net/ubuntu/+source/pollinate/+bug/1848923/+attachment/5460232/+files/f-pol.xml |
|
2021-02-05 08:07:52 |
Christian Ehrhardt |
pollinate (Ubuntu): status |
Triaged |
Incomplete |
|
2021-02-05 08:07:57 |
Christian Ehrhardt |
bug task deleted |
pollinate (Ubuntu Eoan) |
|
|
2021-02-07 09:29:45 |
Martin Pitt |
attachment added |
|
virsh dumpxml https://bugs.launchpad.net/ubuntu/+source/pollinate/+bug/1848923/+attachment/5461032/+files/ubuntu-2004.xml |
|
2021-02-07 09:29:53 |
Martin Pitt |
summary |
pollinate.service fails to start: ERROR: should execute as the [pollinate] user |
pollinate.service fails to start: ERROR: should execute as the [pollinate] user -- missing CacheDirectory= |
|
2021-02-07 09:30:08 |
Martin Pitt |
pollinate (Ubuntu): status |
Incomplete |
Confirmed |
|
2021-02-08 14:57:48 |
Christian Ehrhardt |
bug |
|
|
added subscriber Christian Ehrhardt |
2021-02-09 10:14:01 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~paelzer/ubuntu/+source/pollinate/+git/pollinate/+merge/397719 |
|
2021-02-09 10:43:31 |
Martin Pitt |
pollinate (Ubuntu): status |
Confirmed |
In Progress |
|
2021-02-10 13:29:24 |
Christian Ehrhardt |
description |
In a standard Ubuntu 19.10 cloud image install, pollinate fails to start:
● pollinate.service - Pollinate to seed the pseudo random number generator
Loaded: loaded (/lib/systemd/system/pollinate.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2019-10-20 12:17:10 EEST; 3 months 4 days ago
Docs: https://launchpad.net/pollinate
Main PID: 665 (code=exited, status=1/FAILURE)
Oct 20 12:17:10 ubuntu systemd[1]: Starting Pollinate to seed the pseudo random number generator...
Oct 20 12:17:10 ubuntu pollinate[708]: ERROR: should execute as the [pollinate] user
Oct 20 12:17:10 ubuntu systemd[1]: pollinate.service: Main process exited, code=exited, status=1/FAILURE
Oct 20 12:17:10 ubuntu systemd[1]: pollinate.service: Failed with result 'exit-code'.
Oct 20 12:17:10 ubuntu systemd[1]: Failed to start Pollinate to seed the pseudo random number generator.
The user does exist:
# id pollinate
uid=110(pollinate) gid=1(daemon) groups=1(daemon)
and the unit has "User=pollinate"
This happens outside of systemd as well:
# sudo -u pollinate /usr/bin/pollinate
<13>Jan 24 09:31:05 pollinate[21456]: ERROR: should execute as the [pollinate] user
set -x shows why:
+ [ ! -w /var/cache/pollinate ]
+ error should execute as the [pollinate] user
This directory doesn't exist. So (1) this is a bad error message, and (2) pollinate.service is missing "CacheDirectory=pollinate". When adding that, it works.
pollinate 4.33-2ubuntu1 |
[Impact]
* /var/cache is expected to be able to be cleared for a reboot without
drawbacks. But the directory of pollinate is a classic cache, yet it
only is created in postinst. That leads to the service failing on
reboot after the path was cleared.
For example the cockpit images are affected by that
* The Fix for that is to instruct systemd to (if needed) create that path
under the same permissions.
[Test Case]
* sudo rm -rf /var/cache/pollinate
* sudo reboot
* systemctl status pollinate
Without the fix it will fail to start missing the directory (but
complaining about a wrong user). With the fix it works as systemd
recreates that directory if needed.
[Where problems could occur]
* We modify the service file, so issues would be around the
/var/cache/pollinate creation/usage or the start/stop/restart
of the service.
[Other Info]
* the postinst bits doeing the mkdir are not removed to easen backport to
e.g. Xenial where this systemd feature does not exist.
----
In a standard Ubuntu 19.10 cloud image install, pollinate fails to start:
● pollinate.service - Pollinate to seed the pseudo random number generator
Loaded: loaded (/lib/systemd/system/pollinate.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2019-10-20 12:17:10 EEST; 3 months 4 days ago
Docs: https://launchpad.net/pollinate
Main PID: 665 (code=exited, status=1/FAILURE)
Oct 20 12:17:10 ubuntu systemd[1]: Starting Pollinate to seed the pseudo random number generator...
Oct 20 12:17:10 ubuntu pollinate[708]: ERROR: should execute as the [pollinate] user
Oct 20 12:17:10 ubuntu systemd[1]: pollinate.service: Main process exited, code=exited, status=1/FAILURE
Oct 20 12:17:10 ubuntu systemd[1]: pollinate.service: Failed with result 'exit-code'.
Oct 20 12:17:10 ubuntu systemd[1]: Failed to start Pollinate to seed the pseudo random number generator.
The user does exist:
# id pollinate
uid=110(pollinate) gid=1(daemon) groups=1(daemon)
and the unit has "User=pollinate"
This happens outside of systemd as well:
# sudo -u pollinate /usr/bin/pollinate
<13>Jan 24 09:31:05 pollinate[21456]: ERROR: should execute as the [pollinate] user
set -x shows why:
+ [ ! -w /var/cache/pollinate ]
+ error should execute as the [pollinate] user
This directory doesn't exist. So (1) this is a bad error message, and (2) pollinate.service is missing "CacheDirectory=pollinate". When adding that, it works.
pollinate 4.33-2ubuntu1 |
|
2021-02-10 13:30:28 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Xenial |
|
2021-02-10 13:30:28 |
Christian Ehrhardt |
bug task added |
|
pollinate (Ubuntu Xenial) |
|
2021-02-10 13:30:28 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Bionic |
|
2021-02-10 13:30:28 |
Christian Ehrhardt |
bug task added |
|
pollinate (Ubuntu Bionic) |
|
2021-02-10 13:30:28 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Groovy |
|
2021-02-10 13:30:28 |
Christian Ehrhardt |
bug task added |
|
pollinate (Ubuntu Groovy) |
|
2021-02-10 13:30:28 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Focal |
|
2021-02-10 13:30:28 |
Christian Ehrhardt |
bug task added |
|
pollinate (Ubuntu Focal) |
|
2021-02-10 13:30:35 |
Christian Ehrhardt |
pollinate (Ubuntu Xenial): status |
New |
Won't Fix |
|
2021-02-10 13:30:38 |
Christian Ehrhardt |
pollinate (Ubuntu Bionic): status |
New |
Triaged |
|
2021-02-10 13:30:40 |
Christian Ehrhardt |
pollinate (Ubuntu Focal): status |
New |
Triaged |
|
2021-02-10 13:30:41 |
Christian Ehrhardt |
pollinate (Ubuntu Groovy): status |
New |
Triaged |
|
2021-02-10 20:08:57 |
Launchpad Janitor |
pollinate (Ubuntu): status |
In Progress |
Fix Released |
|
2021-02-11 07:39:37 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~paelzer/ubuntu/+source/pollinate/+git/pollinate/+merge/397889 |
|
2021-02-11 07:39:58 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~paelzer/ubuntu/+source/pollinate/+git/pollinate/+merge/397890 |
|
2021-02-11 07:40:20 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~paelzer/ubuntu/+source/pollinate/+git/pollinate/+merge/397891 |
|
2021-02-15 17:30:49 |
Robie Basak |
pollinate (Ubuntu Groovy): status |
Triaged |
Fix Committed |
|
2021-02-15 17:30:50 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-02-15 17:30:52 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2021-02-15 17:30:55 |
Robie Basak |
tags |
eoan regression-release |
eoan regression-release verification-needed verification-needed-groovy |
|
2021-02-15 17:31:12 |
Robie Basak |
pollinate (Ubuntu Focal): status |
Triaged |
Fix Committed |
|
2021-02-15 17:31:17 |
Robie Basak |
tags |
eoan regression-release verification-needed verification-needed-groovy |
eoan regression-release verification-needed verification-needed-focal verification-needed-groovy |
|
2021-02-15 17:31:31 |
Robie Basak |
pollinate (Ubuntu Bionic): status |
Triaged |
Fix Committed |
|
2021-02-15 17:31:35 |
Robie Basak |
tags |
eoan regression-release verification-needed verification-needed-focal verification-needed-groovy |
eoan regression-release verification-needed verification-needed-bionic verification-needed-focal verification-needed-groovy |
|
2021-02-16 06:09:45 |
Martin Pitt |
tags |
eoan regression-release verification-needed verification-needed-bionic verification-needed-focal verification-needed-groovy |
eoan regression-release verification-done-groovy verification-needed verification-needed-bionic verification-needed-focal |
|
2021-02-16 06:16:00 |
Martin Pitt |
tags |
eoan regression-release verification-done-groovy verification-needed verification-needed-bionic verification-needed-focal |
eoan regression-release verification-done-focal verification-done-groovy verification-needed verification-needed-bionic |
|
2021-02-16 09:18:30 |
Christian Ehrhardt |
tags |
eoan regression-release verification-done-focal verification-done-groovy verification-needed verification-needed-bionic |
eoan regression-release verification-done verification-done-bionic verification-done-focal verification-done-groovy |
|
2021-02-22 09:44:24 |
Launchpad Janitor |
pollinate (Ubuntu Groovy): status |
Fix Committed |
Fix Released |
|
2021-02-22 09:44:26 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2021-02-22 09:46:11 |
Launchpad Janitor |
pollinate (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-02-22 09:58:14 |
Launchpad Janitor |
pollinate (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|