This bug was fixed in the package pollinate - 4.33-0ubuntu1~18.04.2
---
pollinate (4.33-0ubuntu1~18.04.2) bionic; urgency=medium
* d/pollinate.service: ensure cache directory is recreated (LP:
#1848923)
-- Christian Ehrhardt Tue, 09 Feb
2021 10:57:54 +0100
** Changed in:
This bug was fixed in the package pollinate - 4.33-3ubuntu1.20.04.1
---
pollinate (4.33-3ubuntu1.20.04.1) focal; urgency=medium
* d/pollinate.service: ensure cache directory is recreated (LP:
#1848923)
-- Christian Ehrhardt Tue, 09 Feb
2021 10:57:54 +0100
** Changed in:
This bug was fixed in the package pollinate - 4.33-3ubuntu1.20.10.1
---
pollinate (4.33-3ubuntu1.20.10.1) groovy; urgency=medium
* d/pollinate.service: ensure cache directory is recreated (LP:
#1848923)
-- Christian Ehrhardt Tue, 09 Feb
2021 10:57:54 +0100
** Changed in:
For Bionic I have spawned a guest and checked how as-of today it
responds to deleting it's /var/cache/pollinate.
Initially:
$ systemctl status pollinate
● pollinate.service - Pollinate to seed the pseudo random number generator
Loaded: loaded (/lib/systemd/system/pollinate.service; enabled;
I now did exactly the same steps as above on an Ubuntu 20.04 VM, with
exactly the same results. This verifies 4.33-3ubuntu1.20.04.1.
** Tags removed: verification-needed-focal
** Tags added: verification-done-focal
--
You received this bug notification because you are a member of Ubuntu
Bugs,
Verification for groovy:
I took a 20.10 VM with current pollinate 4.33-3ubuntu1, and after
booting, pollinate.service is in state failed as per the bug
description.
I then updated to 4.33-3ubuntu1.20.10.1. The package update auto-
restarted pollinate.service, and it looked successful:
#
Hello Martin, or anyone else affected,
Accepted pollinate into groovy-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/pollinate/4.33-3ubuntu1.20.10.1 in
a few hours, and then in the -proposed repository.
Please help us by testing this new package.
All MPs got approved and I've uploaded this to B/F/G-unapproved.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848923
Title:
pollinate.service fails to start: ERROR: should execute as the
Thanks for your advice Martin, does not like a can-of-worms I'd want/need to
open today then.
I've myself checked a few cases and indeed many don't fail (or not as hard)
like pollinate.
So for now let us just fix this.
--
You received this bug notification because you are a member of Ubuntu
@Christian: Debian still needs/wants to support sysvinit. Of course
init.d scripts ought to create cache directories too (like munin,
mopidy, and others already do, but probably not all of them), but that
will be a bit more work. FHS applies to SysV init as well, so the same
reasoning still holds.
@Martin - since you made me think about that "/var/cache should be removable
without impact" I was looking around a bit and I think there would be many more
packages that are possible affected.
I mean each of them might be an individual case and have or ahve not an impact,
but this looks like a
Done for 21.04, let us try to fix B/F/G as well.
After all there might be more than just the cockpit images that run into this
issue.
MPs:
B:
https://code.launchpad.net/~paelzer/ubuntu/+source/pollinate/+git/pollinate/+merge/397889
F:
** Merge proposal linked:
https://code.launchpad.net/~paelzer/ubuntu/+source/pollinate/+git/pollinate/+merge/397889
** Merge proposal linked:
https://code.launchpad.net/~paelzer/ubuntu/+source/pollinate/+git/pollinate/+merge/397890
** Merge proposal linked:
This bug was fixed in the package pollinate - 4.33-3ubuntu2
---
pollinate (4.33-3ubuntu2) hirsute; urgency=medium
* d/pollinate.service: ensure cache directory is recreated (LP:
#1848923)
-- Christian Ehrhardt Tue, 09 Feb
2021 10:57:54 +0100
** Changed in: pollinate (Ubuntu)
SRU Template added.
For backport planning I'll add B/F/G since the solution on't help Xenial and
that really is old enough by now to have more people complain about this issue
there to make it super-important.
** Also affects: pollinate (Ubuntu Xenial)
Importance: Undecided
Status:
MP review complete, uploaded with minor modifications to Hirsute and submitted
the same to Debian.
Once complete in 21.04 we can think about how far we want to backport this.
** Description changed:
+ [Impact]
+
+ * /var/cache is expected to be able to be cleared for a reboot without
+
I needed a little tweak for the permissions, but other than that the suggestion
worked fine.
I've prepared that in the PPA and MP for test/review.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Changed in: pollinate (Ubuntu)
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848923
Title:
pollinate.service fails to start: ERROR: should execute as the
PPA:
https://launchpad.net/~paelzer/+archive/ubuntu/lp-1848923-pollinate-var-cache-dir
MP:
https://code.launchpad.net/~paelzer/ubuntu/+source/pollinate/+git/pollinate/+merge/397719
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Merge proposal linked:
https://code.launchpad.net/~paelzer/ubuntu/+source/pollinate/+git/pollinate/+merge/397719
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848923
Title:
That path is used to detect if it has run before and skip re-execution
as it isn't needed anymore then. A path change might be wanted, but
would either need all sorts of maintscript magic to carry from old to
new location if that has happened on a given system.
The option to use:
> Where could we download one of them to check the state of that path in
there?
See comment #7:
git clone https://github.com/cockpit-project/bots/
bots/vm-run ubuntu-stable
But I suppose that's moot now :)
--
You received this bug notification because you are a member of Ubuntu
Bugs,
Indeed all our images clear up /var/cache [1]. Sorry, I forgot about
this bit before! An admin should always be able to rm -rf /var/cache,
reboot, and get a fully working system [2]. So if the pollinate data is
in any way precious, it should better be in /var/lib/pollinate then
(similar to
Awesome debugging Martin!
but while I agree that:
CacheDirectory=pollinate
would in your case mitigate the issue by systemd providing that directory, it
would also hide that this dir was lost at some point. The postinst of pollinate
would have created that dir:
root@h:~# grep cache
24 matches
Mail list logo