Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

profiles: Enable systemd[elfutils] USE flag for board #2489

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

jepio
Copy link
Contributor

@jepio jepio commented Feb 28, 2023

profiles: Enable systemd[elfutils] USE flag for board

Elfutils is already part of the usr partition, but currently not enabled in systemd-coredump. Systemd-coredump therefore fails with:

elfutils disabled, parsing ELF objects not supported.

Enable the elfutils flag for systemd to make this work.

How to use

Dump core and check journal for messages.

Testing done

Haven't tested, but will try it out once CI builds images.

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

@jepio jepio requested a review from a team February 28, 2023 08:52
@jepio
Copy link
Contributor Author

jepio commented Feb 28, 2023

CI here: http://192.168.42.7:8080/job/container/job/packages_all_arches/1404/console (sorry for the IP, my DNS stopped allowing the normal entry).

@jepio
Copy link
Contributor Author

jepio commented Mar 2, 2023

Manually tested the image and coredump now tries to prints a backtrace into the journal, nothing more.

Copy link
Contributor

@dongsupark dongsupark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please add changelog.

Let's backport to Stable, Beta, Alpha, as the issue has been there since many versions, right?

Elfutils is already part of the usr partition, but currently not enabled in
systemd-coredump. Systemd-coredump therefore fails with:

  elfutils disabled, parsing ELF objects not supported.

Enable the elfutils flag for systemd to make this work.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
@jepio jepio force-pushed the jepio/elfutils-systemd-coredump branch from a4dd263 to e26b85f Compare March 8, 2023 09:11
@jepio jepio merged commit 858db66 into main Mar 8, 2023
@jepio jepio deleted the jepio/elfutils-systemd-coredump branch March 8, 2023 09:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants