Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1879065 - tss user not created if trousers package not installed
Summary: tss user not created if trousers package not installed
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: tpm2-tss
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException
Depends On: 1879144
Blocks: IoT F33BetaFreezeException PARSEC
TreeView+ depends on / blocked
 
Reported: 2020-09-15 11:28 UTC by Peter Robinson
Modified: 2020-09-24 09:43 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1879071 (view as bug list)
Environment:
Last Closed: 2020-09-24 09:43:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2020-09-15 11:28:21 UTC
The TPM2 gets put into the tss user/group via udev rules in /usr/lib/udev/rules.d/60-tpm-udev.rules but the tss user/group isn't created unless the trousers package is installed.

This causes userspace issues with access to the TPM2, like if clevis is unlocking user partitions post root switch (AKA not in the initrd where everything is run as root).

In most cases now the trousers package  isn't installed because TPM2 has been the standard for a long time and TPM1 units are generally considered insecure so the tpm2-tss package should check if the user/group exists and if not create them per packaging policy.

This affects userspace TPM2 access, it doesn't affect unlocking an encrypted root filesystem as this is done as the root user in the initrd, but it affects clevis unlocking non root filesystems on a different LUKS partition such as /home or /opt as well as other TPM2 access from userspace.

Comment 1 Fedora Blocker Bugs Application 2020-09-15 11:44:18 UTC
Proposed as a Freeze Exception for 33-beta by Fedora user pbrobinson using the blocker tracking app because:

 Causing issues on Fedora IoT and other TPM2 related bits. Not sure if it's considered a blocker or a FE as it works on clevis if it's a single LUKS partition with LVM for root and other filesystems, but if there's any LUKS that would get unlocked post switch root it's causing issues.

Comment 2 Peter Robinson 2020-09-15 11:45:34 UTC
The tpm2-tss package is currently failing to build due to some change in doxygen, but the fix has been pushed.

Comment 3 Fedora Update System 2020-09-16 07:50:16 UTC
FEDORA-2020-91532104d0 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-91532104d0

Comment 4 Fedora Update System 2020-09-16 18:57:55 UTC
FEDORA-2020-91532104d0 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-91532104d0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-91532104d0

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

Comment 5 Fedora Update System 2020-09-17 12:15:49 UTC
FEDORA-2020-91532104d0 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-91532104d0

Comment 6 Fedora Update System 2020-09-17 17:55:16 UTC
FEDORA-2020-91532104d0 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-91532104d0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-91532104d0

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

Comment 7 Adam Williamson 2020-09-18 21:13:19 UTC
+3 votes in ticket (https://pagure.io/fedora-qa/blocker-review/issue/92 ), setting accepted.

Comment 8 Fedora Update System 2020-09-21 20:49:09 UTC
FEDORA-2020-91532104d0 has been pushed to the Fedora 33 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.