Bug 2105091

Summary: usbguard 1.0.0-8 conflicts with itself
Product: Red Hat Enterprise Linux 8 Reporter: Ben Casses <casses1>
Component: usbguardAssignee: Attila Lakatos <alakatos>
Status: CLOSED ERRATA QA Contact: Dalibor Pospíšil <dapospis>
Severity: medium Docs Contact: Mirek Jahoda <mjahoda>
Priority: unspecified    
Version: 8.6CC: alakatos, dapospis, gfialova, jafiala, mjahoda, zfridric
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: usbguard-1.0.0-13.el8 Doc Type: Removed functionality
Doc Text:
.`usbguard` for i686 is no longer available The `usbguard` packages for AMD and Intel 32-bit architectures (i686) are no longer available in RHEL. With this change, the `usbguard` package conflict is removed as well.
Story Points: ---
Clone Of:
: 2126622 (view as bug list) Environment:
Last Closed: 2023-05-16 08:37:00 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 Ben Casses 2022-07-07 21:29:47 UTC
Description of problem:
usbguard conflicts with itself

Version-Release number of selected component (if applicable):
1.0.0-8

How reproducible:
simple

Steps to Reproduce:
1. install usbguard on RHEL 8.6
2. dnf check

Actual results:
usbguard-1.0.0-8.el8.ARCH has installed conflict "usbguard": usbguard-1.0.0-8.el8.ARCH

Expected results:
none

Additional info:
rpm -q usbguard --conflicts returns "usbguard"

Comment 1 Attila Lakatos 2022-07-18 10:35:05 UTC
I believe this was caused by a recent patch, bz#1963271.

Maybe zfridric can clarify it, as he was working on the usbguard component back then.

Comment 4 Don Hanneman 2022-07-21 22:37:04 UTC
Hi,

I have a customer also hitting this on rhel 9. Since it looks like a spec file issue, I guess no workaround is available?. 

Any idea of a timeframe I could pass along to the cu?

-D

Comment 7 Zoltan Fridrich 2022-07-27 14:45:20 UTC
(In reply to Attila Lakatos from comment #1)
> I believe this was caused by a recent patch, bz#1963271.
> 
> Maybe zfridric can clarify it, as he was working on the usbguard component
> back then.

If I remember correctly, the issue that I was solving was that the system had older version of selinux-policy, therefore when you installed usbguard it installed older version of usbguard-selinux and older usbguard-selinux had older usbguard as a dependency, so it tried to install both usbguard and older usbguard and there was the conflict.

Comment 25 errata-xmlrpc 2023-05-16 08:37:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (usbguard bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2833