Since the SRUs for jammy and focal included several fixes, I put my comment in this bug report only (which is the one with the highest bug number).
For the SRU I cherry-picked the important fixes from apport 2.21.0 and 2.22.0 and all needed commits to make the autopkgtest succeed on all architectures. This results in 84 commits for jammy and 74 commits for focal. You can see the individual commits in https://git.launchpad.net/~ubuntu-core- dev/ubuntu/+source/apport/log/?h=ubuntu/jammy and https://git.launchpad.net/~ubuntu-core- dev/ubuntu/+source/apport/log/?h=ubuntu/focal Attached are debdiffs which excludes the changes to the test directory. I verified that autopkgtest succeeds on all architectures with apport 2.20.11-0ubuntu82.2ppa8 and 2.20.11-0ubuntu27.25~ppa1 in https://launchpad.net/~bdrung/+archive/ubuntu/ppa (the version numbers differ, but the package content is identical to what is uploaded as SRU). ** Patch added: "apport_2.20.11-0ubuntu82.2.debdiff" https://bugs.launchpad.net/apport/+bug/1982555/+attachment/5604814/+files/apport_2.20.11-0ubuntu82.2.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1982555 Title: core dump file empty inside container Status in Apport: Fix Committed Status in apport package in Ubuntu: Triaged Status in apport source package in Focal: New Status in apport source package in Jammy: New Bug description: [Impact] Apport will write an empty core dump file inside of containers. [Test plan] Run following testcase script inside a LXC container: ``` rm -f /var/lib/apport/coredump/* ulimit -c 1000000 sleep 86400 & killall -3 sleep ``` Apport will write a core dump into /var/lib/apport/coredump, but this core dump is empty: ``` $ stat /var/lib/apport/coredump/core._usr_bin_sleep.* File: /var/lib/apport/coredump/core._usr_bin_sleep.0.44f483a1-e487-44b3-88d1-805d1026f31d.9059.34839819 Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: fd00h/64768d Inode: 120848663 Links: 1 Access: (0400/-r--------) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2022-07-22 07:54:48.838682067 +0000 Modify: 2022-07-22 07:54:48.838682067 +0000 Change: 2022-07-22 07:54:48.838682067 +0000 Birth: 2022-07-22 07:54:48.838682067 +0000 ``` This file should not be empty. [Other Info] The autopkgtest for armhf are run inside a LXC container and the test case test_core_dump_packaged_sigquit triggers this bug. To manage notifications about this bug go to: https://bugs.launchpad.net/apport/+bug/1982555/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp