Bug 1796385

Summary: Dnf update fails: Error unpacking rpm package tpm2-abrmd-2.2.0-4.fc31.x86_64
Product: [Fedora] Fedora Reporter: pekka.tallqvist
Component: tpm2-abrmdAssignee: Peter Robinson <pbrobinson>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 31CC: fmartine, jsnitsel, yunying.sun
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-16 09:02:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description pekka.tallqvist 2020-01-30 10:14:46 UTC
Description of problem:
dnf update fails


Version-Release number of selected component (if applicable):
tpm2-abrmd-2.2.0-2.fc31.x86_64 

How reproducible:
Happens every time

Steps to Reproduce:
1. sudo dnf update
2.
3.

Actual results:
Downloading Packages:
tpm2-abrmd-2.2.0-4.fc31.x86_64.rpm              1.2 MB/s | 109 kB     00:00    
--------------------------------------------------------------------------------
Total                                           348 kB/s | 109 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Running scriptlet: tpm2-abrmd-2.2.0-4.fc31.x86_64                         1/1 
  Running scriptlet: tpm2-abrmd-2.2.0-4.fc31.x86_64                         1/2 
  Upgrading        : tpm2-abrmd-2.2.0-4.fc31.x86_64                         1/2 
error: lsetfilecon: (/usr/sbin/tpm2-abrmd;5e2d51c8, system_u:object_r:tabrmd_exec_t:s0) Invalid argument
error: Plugin selinux: hook fsm_file_prepare failed

Error unpacking rpm package tpm2-abrmd-2.2.0-4.fc31.x86_64
  Verifying        : tpm2-abrmd-2.2.0-4.fc31.x86_64                         1/2 
  Verifying        : tpm2-abrmd-2.2.0-2.fc31.x86_64                         2/2 

Failed:
  tpm2-abrmd-2.2.0-2.fc31.x86_64         tpm2-abrmd-2.2.0-4.fc31.x86_64        

Error: Transaction failed


Expected results:
Succesful update

Additional info:
https://ask.fedoraproject.org/t/dnf-update-fails-failed-tpm2-abrmd-2-2-0-2-fc31-x86-64-tpm2-abrmd-2-2-0-4-fc31-x86-64/5158

Comment 1 Javier Martinez Canillas 2020-02-12 13:35:56 UTC
The tpm2-abrmd package has been updated to 2.3.1 that contained SELinux fixes, could you please test the tpm2-abrmd and tpm2-abrmd-selinux packages and check if the issue is still present with those?

https://bodhi.fedoraproject.org/updates/FEDORA-2020-cd8116488d
https://bodhi.fedoraproject.org/updates/FEDORA-2020-e7e0b32381

Comment 2 Yunying Sun 2020-07-27 08:56:24 UTC
Does this issue still exist with tpm2-abrmd-2.3.1-1.fc31?

Comment 3 pekka.tallqvist 2020-07-28 10:53:30 UTC
Can’t test this, I’m on f32. No errors there.

Comment 4 Fedora Admin user for bugzilla script actions 2020-09-16 03:01:08 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.