qubes-libvchan-xen: link against non-versionned xen libraries #214

Merged
forge merged 1 commit from qubes-libvchan-xen/fix-xen-upgrade-tk2 into main 2025-05-12 13:01:36 +00:00
Owner

Previous workaround to the xen upgrade race condition actually caused
xen to be uninstalled on most systems, breaking the template. This is
thus another approach at fixing the race condition by linking against
non-versionned xen libraries. Thus, a minor version upgrade of xen will
not cause libxenvchan.so to lose xen libraries.

The linking process is changed by adding a step before linking where ld
is linked against libraries where DT_SONAME has been patched with
patchelf. This is not an elegant solution, but it does work. Ideally, we
would find a way for seamless upgrading of xen while the proxy is up.

Previous workaround to the xen upgrade race condition actually caused xen to be uninstalled on most systems, breaking the template. This is thus another approach at fixing the race condition by linking against non-versionned xen libraries. Thus, a minor version upgrade of xen will not cause libxenvchan.so to lose xen libraries. The linking process is changed by adding a step before linking where ld is linked against libraries where DT_SONAME has been patched with patchelf. This is not an elegant solution, but it does work. Ideally, we would find a way for seamless upgrading of xen while the proxy is up.
qubes-libvchan-xen: link against non-versionned xen libraries
All checks were successful
/ lint (pull_request) Successful in 33s
/ deploy-v3.21 (pull_request) Successful in 32s
/ build-v3.21 (pull_request) Successful in 1m14s
/ build-v3.20 (pull_request) Successful in 1m15s
/ deploy-v3.20 (pull_request) Successful in 34s
/ deploy-edge (pull_request) Successful in 39s
/ build-edge (pull_request) Successful in 1m20s
bcc832b2ce
Previous workaround to the xen upgrade race condition actually caused
xen to be uninstalled on most systems, breaking the template. This is
thus another approach at fixing the race condition by linking against
non-versionned xen libraries. Thus, a minor version upgrade of xen will
not cause libxenvchan.so to lose xen libraries.

The linking process is changed by adding a step before linking where ld
is linked against libraries where DT_SONAME has been patched with
patchelf. This is not an elegant solution, but it does work. Ideally, we
would find a way for seamless upgrading of xen while the proxy is up.
forge merged commit bcc832b2ce into main 2025-05-12 13:01:36 +00:00
forge deleted branch qubes-libvchan-xen/fix-xen-upgrade-tk2 2025-05-12 13:01:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
Maintenance
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forge/qports!214
No description provided.