Bug 1855262

Summary: cfssl and mono-devel conflict over /usr/bin/mkbundle
Product: [Fedora] Fedora Reporter: Andreas Kohn <andreas.kohn>
Component: golang-github-cloudflare-cfsslAssignee: Robert-André Mauchin 🐧 <eclipseo>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: eclipseo, go-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: golang-github-cloudflare-cfssl-1.4.1-2.fc31 golang-github-cloudflare-cfssl-1.4.1-2.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-18 01:08:46 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 Andreas Kohn 2020-07-09 11:41:33 UTC
Description of problem:

I cannot install both mono-devel(-6.6.0-7.fc32.x86_64) and golang-github-cloudflare-cfssl(-1.4.1-1.fc32.x86_64):

```
  file /usr/bin/mkbundle from install of golang-github-cloudflare-cfssl-1.4.1-1.fc32.x86_64 conflicts with file from package mono-devel-6.6.0-7.fc32.x86_64
```

Version-Release number of selected component (if applicable):
1.4.1-1

How reproducible:
Always (presumably)

Steps to Reproduce:
1. Install mono-devel using dnf
2. Install golang-github-cloudflare-cfssl using dnf

Actual results:
Step 2 fails.

Expected results:
Step 2 works.
"Somehow" both the mkbundle from cfssl and from mono-devel are available.

Additional info:
TBH: I suspect the only way to fix this would be to rename one of the two binaries, but I wouldn't know which one to chose. This issue might serve as a permanent "bad luck for you, then" for people searching for the error ... :)

Comment 1 Andreas Kohn 2020-07-09 11:46:27 UTC
Workaround: Install cfssl manually, which will put the tools into $GOPATH/bin. This will still lead to issues if you're trying to actively use mkbundle, and have $GOPATH/bin in $PATH.

```
go get -u github.com/cloudflare/cfssl/cmd/...
```
(From https://github.com/cloudflare/cfssl#installation)

Instead of installing _all_ cfssl commands this approach would allow to only install _some_, for example to only install cfssl itself:

```
go get -u github.com/cloudflare/cfssl/cmd/cfssl
```

Comment 2 Fedora Update System 2020-07-09 16:33:00 UTC
FEDORA-2020-b18151ddd7 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-b18151ddd7

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

Comment 4 Robert-André Mauchin 🐧 2020-07-09 16:37:22 UTC
Hi,

Thanks for the report. I've elected to rename the binary cfssl-mkbundle, this should clear the conflicts.

Comment 5 Fedora Update System 2020-07-10 01:42:31 UTC
FEDORA-2020-b18151ddd7 has been pushed to the Fedora 32 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-b18151ddd7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-b18151ddd7

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

Comment 6 Fedora Update System 2020-07-10 01:44:22 UTC
FEDORA-2020-bf1aa378d6 has been pushed to the Fedora 31 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-bf1aa378d6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-bf1aa378d6

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

Comment 7 Fedora Update System 2020-07-18 01:08:46 UTC
FEDORA-2020-bf1aa378d6 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2020-07-18 01:52:44 UTC
FEDORA-2020-b18151ddd7 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.