Merge ~mustafakemalgilor/ubuntu/+source/systemd:systemd-fix-lp1978079-efi-pstore-not-cleared-jammy into ~ubuntu-core-dev/ubuntu/+source/systemd:ubuntu-jammy
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Lukas Märdian | ||||
Merged at revision: | 0569b1422bf26d157e4c120794f542ee032a347c | ||||
Proposed branch: | ~mustafakemalgilor/ubuntu/+source/systemd:systemd-fix-lp1978079-efi-pstore-not-cleared-jammy | ||||
Merge into: | ~ubuntu-core-dev/ubuntu/+source/systemd:ubuntu-jammy | ||||
Diff against target: |
72 lines (+50/-0) 3 files modified
debian/changelog (+8/-0) debian/patches/lp1978079-efi-pstore-not-cleared-on-boot.patch (+41/-0) debian/patches/series (+1/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lukas Märdian | Approve | ||
Canonical Server Core Reviewers | Pending | ||
Canonical Server | Pending | ||
Review via email: mp+425082@code.launchpad.net |
Description of the change
Backported a fix from upstream to jammy for the LP issue #1978079:
* d/p/lp1978079-
after
modules are loaded. Thanks to Alexander Graf <email address hidden>.
LP: #1978079)
Please tag & sponsor.
(See backport merge request for focal: https:/
Steps to reproduce/test:
# In order to be able to reproduce this issue, the system must have EFI-backed pstore.
# To check which kind of backend that pstore, use `cat /sys/module/
# If it says `efi`, the steps below are applicable. Otherwise, find an environment that has
# EFI backed pstore.
# Enable the pstore service. This service is supposed to move the data in /sys/fs/pstore
# to the `/var/lib/
systemctl enable systemd-
# Crash the kernel
echo 1 > /proc/sys/
echo 1 > /proc/sys/
echo "c" > /proc/sysrq-trigger
# The system will reboot itself. Check `/sys/fs/pstore` path first:
ls /sys/fs/pstore # The path should not be empty, which means the systemd-pstore has failed to do its' job
ls /var/lib/
# Apply the fix
sudo add-apt-repository ppa:mustafakema
sudo apt upgrade
# Crash the kernel
echo 1 > /proc/sys/
echo 1 > /proc/sys/
echo "c" > /proc/sysrq-trigger
# The system will reboot itself. Check `/sys/fs/pstore` path first:
ls /sys/fs/pstore # The path should be empty
ls /var/lib/
Package Test Results:
autopkgtest [15:49:45]: test systemd-fsckd: [------
SKIP: root file system is being checked by initramfs already
autopkgtest [15:49:45]: test systemd-fsckd: -------
systemd-fsckd SKIP exit status 77 and marked as skippable
autopkgtest [15:49:46]: test systemd-fsckd: - - - - - - - - - - results - - - - - - - - - -
autopkgtest [15:49:46]: @@@@@@@
timedated PASS
hostnamed PASS
localed-locale PASS
localed-x11-keymap PASS
logind PASS
unit-config PASS
storage PASS
networkd-test.py PASS
build-login PASS
boot-and-services PASS
udev PASS
unit-tests PASS
tests-in-lxd PASS
upstream-1 PASS
upstream-2 PASS
boot-smoke PASS
systemd-fsckd SKIP exit status 77 and marked as skippable
qemu-system-x86_64: terminating on signal 15 from pid 474221 (/usr/bin/python3)
Hi,
Normally the Foundations team reviews systemd changes. Is there a particular reason you requested reviews from the Server Team please?