fix: drop core26 paths from ELF RPATHs - #215
Merged
Merged
Conversation
hemanthnakkina
approved these changes
Sep 2, 2026
hmlanigan
reviewed
Sep 3, 2026
hmlanigan
left a comment
There was a problem hiding this comment.
Updates for the PR description:
- Add a link to the Jira card for this work
- Remove the empty bug related links.
Please follow conventional commits for this change.
I am unable to run the QA steps as they do not include how to integrate the openstack-hypervisor snap to test into the workflow.
Snapcraft ELF patching keeps staged libraries available to helpers that discard LD_LIBRARY_PATH. It also appends an absolute base-snap path that strict confinement cannot read, causing dynamic linker denials before fallback to the mounted base. Remove only core26 path components in the final prime step. Preserve both the remaining paths and each object’s RPATH or RUNPATH type. Core26 libraries are mounted and available in the snap namespace under regular /usr/lib/x86_64-linux-gnu and cannot be access via /snap/core26/... paths. Closes-Bug: #2165975 Assisted-By: Codex (gpt-5-6-sol) Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
gboutry
force-pushed
the
fix/fix-ceilometer-rpath
branch
from
September 4, 2026 07:36
ad97ace to
8594f23
Compare
ahmad-can
approved these changes
Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snapcraft ELF patching keeps staged libraries available to helpers that discard LD_LIBRARY_PATH. It also appends an absolute base-snap path that strict confinement cannot read, causing dynamic linker denials before fallback to the mounted base.
Remove only core26 path components in the final prime step. Preserve both the remaining paths and each object’s RPATH or RUNPATH type.
Core26 libraries are mounted and available in the snap namespace under regular /usr/lib/x86_64-linux-gnu and cannot be access via /snap/core26/... paths.
Assisted-By: Codex (gpt-5-6-sol)
Closes-bug: #2165975
QA steps
Refresh an existing sunbeam deployment hypervisor snap with a build of this PR:
The following errors should no longer appear in audit logs / snappy-debug:
Ceilometer is still failing on a python3.14 compatibility issue, to fix in a subsequent PR.
Links
https://bugs.launchpad.net/snap-openstack-hypervisor/+bug/2165975
OPEN-4737