Need to pre-depend on stuff used by systemctl, so systemctl works in other package's preinst

Bug #1771791 reported by Julian Andres Klode on 2018-05-17
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Debian)
Fix Released
Unknown
systemd (Ubuntu)
Status tracked in Cosmic
Bionic
Undecided
Unassigned
Cosmic
Undecided
Unassigned

Bug Description

[Impact]
systemd used to pre-depend on the libraries used by systemctl or something, but now systemctl uses libsystemd-shared, and there are no pre-depends for that, meaning that systemctl fails in maintainer scripts of other packages.

[Test case]
Grab the apt-clone file from comment #20 in bug 1766890, and upgrade it to bionic with apt dist-upgrade -o APT::Immediate-Configure=0. Make sure to not see error about missing libraries in systemctl.

[Regression potential]
Installation ordering changes. Might make things harder for apt to solve.

[Other info]
Debian 897986

Changed in systemd (Debian):
status: Unknown → New
Changed in systemd (Ubuntu Cosmic):
status: New → Fix Committed

Hello Julian, or anyone else affected,

Accepted systemd into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/systemd/237-3ubuntu10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in systemd (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
Julian Andres Klode (juliank) wrote :

Ran the dist-upgrade:

with bionic, bionic-updates:

Unpacking bluez (5.48-0ubuntu3) over (5.37-0ubuntu5.1) ...
systemctl: error while loading shared libraries: libcryptsetup.so.12: cannot open shared object file: No such file or directory

with bionic, bionic-updates, bionic-proposed (pinned to only allow src:systemd packages) it works fine. Well, it hangs in my container, but that might be a container thingy.

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Changed in systemd (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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