does not create compressed dump on 5.0 or later kernels

Bug #1841288 reported by Thadeu Lima de Souza Cascardo on 2019-08-24
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
makedumpfile (Ubuntu)
Undecided
Unassigned
Bionic
Undecided
Thadeu Lima de Souza Cascardo
Disco
Undecided
Thadeu Lima de Souza Cascardo

Bug Description

[Impact]
On ppc64el, makedumpfile won't create compressed dumps, causing them to be very large. This affects any kernel later than 4.19 actually.

[Test case]
Crash a system with kdump-tools installed and enabled, by using the following sequence. Verify the created dumps are compressed by using file. This is the same test as the autopkgtest for makedumpfile.

echo 1 | sudo tee /proc/sys/kernel/sysrq
echo c | sudo tee /proc/sysrq-trigger

[Regression potential]
This is a small fix and should only impact ppc64el. Older kernels should still work, and should be tested.

This affects bionic as we ship linux-hwe 5.0 kernels there.

Changed in makedumpfile (Ubuntu):
status: New → In Progress
Changed in makedumpfile (Ubuntu Disco):
status: New → In Progress
Changed in makedumpfile (Ubuntu Bionic):
status: New → In Progress
tags: added: patch
Eric Desrochers (slashd) on 2019-08-26
Changed in makedumpfile (Ubuntu):
status: In Progress → Fix Released
Eric Desrochers (slashd) on 2019-08-27
Changed in makedumpfile (Ubuntu Bionic):
assignee: nobody → Thadeu Lima de Souza Cascardo (cascardo)
Changed in makedumpfile (Ubuntu Disco):
assignee: nobody → Thadeu Lima de Souza Cascardo (cascardo)

Some details about those debdiffs: they were prepared on top of a version done by Connor Kuehl that could have landed in -proposed between my uploading of the diff and the package upload/sponsorship.

That explains the extra changelog stanza and the versioning. It also explains the change in the original patches: I didn't revert the changes back, they were on Connor's version. I plan on keeping those as part of a workflow that allows multiple people to work on the package, as that seems to be happening more often these days, even though it hasn't landed in -proposed. They are all nitpicks and have no impact on users.

Hello Thadeu, or anyone else affected,

Accepted makedumpfile into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/makedumpfile/1:1.6.5-1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in makedumpfile (Ubuntu Disco):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-disco
Andy Whitcroft (apw) wrote :

Hello Thadeu, or anyone else affected,

Accepted makedumpfile into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/makedumpfile/1:1.6.5-1ubuntu1~18.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in makedumpfile (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed-bionic

All autopkgtests for the newly accepted makedumpfile (1:1.6.5-1ubuntu1.1) for disco have finished running.
The following regressions have been reported in tests triggered by the package:

makedumpfile/1:1.6.5-1ubuntu1.1 (s390x, ppc64el)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/disco/update_excuses.html#makedumpfile

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers