Bug 2252535 - Request: Split tpm2-tss into multiple subpackages
Summary: Request: Split tpm2-tss into multiple subpackages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tpm2-tss
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-02 09:38 UTC by Daan De Meyer
Modified: 2023-12-07 02:08 UTC (History)
6 users (show)

Fixed In Version: tpm2-tss-4.0.1-6.fc40 tpm2-tss-4.0.1-6.fc39
Clone Of:
Environment:
Last Closed: 2023-12-03 16:57:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daan De Meyer 2023-12-02 09:38:33 UTC
systemd is slowly building up a suite of TPM features. As these are adopted, it becomes necessary to install tpm2-tss in the initramfs as systemd makes use of various tpm2-tss libraries. However, tpm2-tss pulls in libcurl which is quite a heavy dependency. If we look in more detail, it's specifically the high level TPM library (libtss2-fapi), which pulls in libcurl and a bunch of other dependencies. systemd's TPM features specifically do not depend on libtss2-fapi. Thus, we can save disk space in the initramfs by splitting up tpm2-tss into subpackages. I would suggest at least packaging libtss2-fapi as a separate subpackage so that the systemd spec can depend on tpm2-tss without libtss2-fapi.

Reproducible: Always

Comment 1 Zbigniew Jędrzejewski-Szmek 2023-12-02 10:16:01 UTC
https://src.fedoraproject.org/rpms/tpm2-tss/pull-request/12

Comment 2 Fedora Update System 2023-12-03 14:47:51 UTC
FEDORA-2023-cb6bbe79d5 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-cb6bbe79d5

Comment 3 Fedora Update System 2023-12-03 16:46:04 UTC
FEDORA-2023-067e5d49c9 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-067e5d49c9

Comment 4 Fedora Update System 2023-12-03 16:57:46 UTC
FEDORA-2023-cb6bbe79d5 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2023-12-04 01:15:11 UTC
FEDORA-2023-067e5d49c9 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-067e5d49c9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-067e5d49c9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-12-07 02:08:25 UTC
FEDORA-2023-067e5d49c9 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.