Bug 2229932

Summary: Problem with requirement of `/usr/libexec/virtiofsd`
Product: [Fedora] Fedora Reporter: Jaroslav Mracek <jmracek>
Component: kata-containersAssignee: Emanuel Lima <emlima>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: dinechin, elima, emlima, ferdnyc, go-sig, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-23 13:58:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2180842    

Description Jaroslav Mracek 2023-08-08 08:49:24 UTC
Package kata-containers requires: /usr/libexec/virtiofsd

Why this is a problem:
1. DNF5 stops to download filelists as a default therefore `glusterfs-resource-agents` will be not installable
2. It is against Fedora packaging guidelines to require files outside of `/etc`, `/usr/(s)bin`.


Possible solution:
1. use only file provides from  `/etc`, `/usr/(s)bin` (follow packaging guidelines please) or other provides from package providing required functionality
2. Request explicit provide of `/usr/libexec/virtiofsd` in package providers of the file like `Provides: /usr/libexec/virtiofsd`. This is a workaround that resolves the issue, but it is not according to the guidelines.

This issue will appear after DNF5 adoption, because DNF5 does not download filelists by default. The problem will not be in DNF5 because it is caused by not following packaging guidelines. DNF downloaded always filelists to prevent the issue. There are only few remaining packages that has the issue therefore it is time to improve an efficiency of Fedora distribution.

PS: I have seen https://src.fedoraproject.org/rpms/kata-containers/pull-request/4# but the issue is still reproducible

Reproducible: Always

Comment 1 Emanuel Lima 2023-11-06 17:47:27 UTC
I was under the impression that https://src.fedoraproject.org/rpms/kata-containers/pull-request/4 fully solved the problem. Could you give me the exact steps you did to reproduce the problem?

Comment 2 Emanuel Lima 2023-11-09 20:06:06 UTC
Could you give me more info @jmracek

Comment 3 "FeRD" (Frank Dana) 2023-11-21 01:58:25 UTC
It looks like the F38 branch still has the old spec with the /usr/libexec/ dependency, I wonder if that's what was meant by still reproducible? Does DNF5 need to be supported under F38, or is the fact that F39 and rawhide have been fixed sufficient to consider this solved?

Comment 4 Emanuel Lima 2023-11-21 14:11:35 UTC
AFAIK DNF5 will only be supported starting with F40, so that should not be an issue.

Comment 5 Jaroslav Mracek 2023-11-23 09:40:34 UTC
The issue is fixed in rawhide, therefore I am satisfied.