Ship a static libsystemd.a

Bug #2012437 reported by Serge Hallyn
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Low
Nick Rosbrook

Bug Description

More and more things are requiring linking against libsystemd. In particular, because dbus is now linked against libsystemd, anything that wants to make a dbus client call needs it. By not shipping a static libsystemd.a, all such users are prevented from building statically. This includes tools like the lxc-init container init, and stacker container build tool, which both want to be re-execed inside a container which may have completely different - or no - distro.

With the attached debdiff, libsystemd-dev ships a libsystem.a so tools can be built statically.

The package has been built (for lunar) with this debdiff at ppa:serge-hallyn/systemd.

Related branches

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Thanks for preparing this patch, Serge. I have converted it into a git commit and will make sure it is in the next upload of systemd. I will also forward this to Debian, since this is something they will want too.

Changed in systemd (Ubuntu):
status: New → Triaged
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Sorry for the delay, I got side tracked after initially proposing this change to Debian. I will try and get this done for Mantic.

Changed in systemd (Ubuntu):
importance: Undecided → Low
assignee: nobody → Nick Rosbrook (enr0n)
tags: added: foundations-todo
Nick Rosbrook (enr0n)
Changed in systemd (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thank you!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 253.5-1ubuntu4

---------------
systemd (253.5-1ubuntu4) mantic; urgency=medium

  * Revert "Drop Provides: time-daemon for bin:systemd-timesyncd"
    File: debian/control
    https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=e88d9f0241a307a3c1b4bcaf4bf29799d984aa3c

 -- Nick Rosbrook <email address hidden> Fri, 25 Aug 2023 16:36:26 -0400

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
Benjamin Drung (bdrung)
tags: removed: foundations-todo
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.