[Bug 2001556] [NEW] systemd-cryptenroll poorly communicates libtss2-rc0 dependency
Kyler Hornor
2001556 at bugs.launchpad.net
Tue Jan 3 19:26:17 UTC 2023
Public bug reported:
Description:
tpm2 support was added to jammy in 249.11-0ubuntu3.3 via LP1969375.
libtss2-rc0 was added as a suggested package.
$ systemd-cryptenroll --tpm2-device=list
TPM2 support is not installed.
Installing libtss2-rc0 allows this to resolve:
$ sudo apt install libtss2-rc0
$ systemd-cryptenroll --tpm2-device=list
PATH DEVICE DRIVER
/dev/tpmrm0 VTPM0101:00 tpm_crb
While this isn't inherently an issue, two things are notable:
+ The manpage for systemd-cryptenroll makes no mention that the
suggested package needs to be installed (that I could find), this is
only noted via `apt depends`. I only happened to find this while
building from source.
+ The presented error implies that the pkg was build with -Dtpm2=false
(as I read it), which is not actually the case. It should properly
indicate the missing dep.
The choice to leave this as a suggested dep was deliberate, so I believe
resolution of the above two issues would suffice to provide enduser
clarity.
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2001556
Title:
systemd-cryptenroll poorly communicates libtss2-rc0 dependency
Status in systemd package in Ubuntu:
New
Bug description:
Description:
tpm2 support was added to jammy in 249.11-0ubuntu3.3 via LP1969375.
libtss2-rc0 was added as a suggested package.
$ systemd-cryptenroll --tpm2-device=list
TPM2 support is not installed.
Installing libtss2-rc0 allows this to resolve:
$ sudo apt install libtss2-rc0
$ systemd-cryptenroll --tpm2-device=list
PATH DEVICE DRIVER
/dev/tpmrm0 VTPM0101:00 tpm_crb
While this isn't inherently an issue, two things are notable:
+ The manpage for systemd-cryptenroll makes no mention that the
suggested package needs to be installed (that I could find), this is
only noted via `apt depends`. I only happened to find this while
building from source.
+ The presented error implies that the pkg was build with -Dtpm2=false
(as I read it), which is not actually the case. It should properly
indicate the missing dep.
The choice to leave this as a suggested dep was deliberate, so I
believe resolution of the above two issues would suffice to provide
enduser clarity.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2001556/+subscriptions
More information about the foundations-bugs
mailing list