Comment 6 for bug 1978079

Revision history for this message
Lukas Märdian (slyon) wrote (last edit ):

Thank you very much!
This resembles the upstream fix and LGTM.

Good work on the detailed reproducer/testcase and thanks for executing autopkgtest ahead of time!
Keep up the good work!

I've staged both proposals in the git tree, to be landed with the next systemd SRUs:
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/log/?h=ubuntu-jammy
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/log/?h=ubuntu-focal

Unfortunately the last SRUs just went out a few days ago for Jammy and a month ago for Focal, it might take a while for the next one to happen. But given that this issue has an easy workaround this shouldn't be a problem IMO.
The next systemd SRUs most probably won't go out before Impish EOL, so I'm marking this task "WONTFIX".

As a workaround the service unit dependency settings can easily be adopted, using a drop-in config:
$ cat /etc/systemd/system/systemd-pstore.service.d/override.conf
[Unit]
After=modprobe@efi_pstore.service <email address hidden> modprobe@chromeos_pstore.service <email address hidden> modprobe@pstore_zone.service modprobe@pstore_blk.service
Wants=modprobe@efi_pstore.service <email address hidden> modprobe@chromeos_pstore.service <email address hidden> modprobe@pstore_zone.service modprobe@pstore_blk.service