Skip to content

Use system libdbus to prevent runtime dependency on systemd - #11931

Merged
kryksyh merged 1 commit into
audacity:masterfrom
kryksyh:fix_appimage_bundled_libdbus
Sep 10, 2026
Merged

kryksyh merged 1 commit into
audacity:masterfrom
kryksyh:fix_appimage_bundled_libdbus

Conversation

@kryksyh

@kryksyh kryksyh commented Sep 4, 2026

Copy link
Copy Markdown
Member

Resolves:#11915

On systemd systems, including ubuntu 24.04 which is the current github runner, libdbus is linked to systemd. This breaks startup on non-systemd systems.

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Testflow test cases have been run

@kryksyh kryksyh changed the title Use system dbus to prevent runtime dependency on systemd Use system libdbus to prevent runtime dependency on systemd Sep 4, 2026
@coderabbitai

coderabbitai Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The AppImage build script now excludes libdbus-1.so.3 from the bundled AppDir payload. Runtime execution therefore uses the system-provided D-Bus library.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: 🟡 Moderate · up to 15bcc

The AppImage now relies on the host D-Bus library, which addresses the bundled systemd dependency but may prevent startup on supported systems lacking a compatible D-Bus runtime. Validate the host-library contract before merging.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The change directly addresses issue #11915 by removing the bundled libdbus library so the AppImage uses the system library and avoids the systemd runtime dependency that prevents startup on non-system…
Out of Scope Changes check ✅ Passed The pull request contains one focused change to the AppImage library-removal list. The change is directly related to issue #11915 and the stated objectives.
Title check ✅ Passed The title clearly states the main change: use the system D-Bus library to avoid a systemd runtime dependency.
Description check ✅ Passed The description explains the motivation, references issue #11915, and includes the required checklist. The issue reference is not a direct link, and Testflow testing is not marked as completed, but th…

Warning

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Team

Run ID: f6d98b05-6cb8-478b-9f6c-d209cdf9b31c

📥 Commits

Reviewing files that changed from the base of the PR and between bc62dc3 and 369d33b300b22f281a5b4445e90976a4e44fc6c5.

📒 Files selected for processing (1)
  • buildscripts/ci/linux/make_appimage.sh

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Comment thread buildscripts/ci/linux/make_appimage.sh Resolved
@dozzzzer dozzzzer linked an issue Sep 9, 2026 that may be closed by this pull request
@kryksyh
kryksyh force-pushed the fix_appimage_bundled_libdbus branch from 369d33b to 15bccb9 Compare September 10, 2026 11:34
@kryksyh
kryksyh merged commit ef246e4 into audacity:master Sep 10, 2026
3 of 10 checks passed
@kryksyh
kryksyh deleted the fix_appimage_bundled_libdbus branch September 10, 2026 11:38
kryksyh added a commit that referenced this pull request Sep 22, 2026
Use system libdbus to prevent runtime dependency on systemd (#11931)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Audacity 4 appimage doesn't run on non-systemd linux distros anymore

2 participants