Bug 2229932 - Problem with requirement of `/usr/libexec/virtiofsd`
Summary: Problem with requirement of `/usr/libexec/virtiofsd`
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kata-containers
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Emanuel Lima
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2180842
TreeView+ depends on / blocked
 
Reported: 2023-08-08 08:49 UTC by Jaroslav Mracek
Modified: 2023-11-27 09:05 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-23 13:58:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.