Package resource-agents requires: /sbin/mount.nfs /sbin/mount.nfs4 /sbin/rpc.statd Why this is a problem: 1. DNF5 stops to download filelists as a default therefore `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 (`Requires: mount.nfs`, `Requires: mount.nfs4`, `Requires: rpc.statd`) 2. Request explicit provide of `/sbin/mount.nfs` in package providers of the file like `Provides: /sbin/mount.nfs`. This is a workaround that resolves the issue, but it is not according to the guidelines. The `/sbin` is also deprecated from Fedora 17, therefore it would better to ask for move to `/usr/sbin/...` 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 (in this case the primary cause is in providers of `/sbin/mount.nfs`). 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. Reproducible: Always
When I try to upgrade to test build on Fedora 38 with updated paths with /usr prefix it fails due to these utils not being installed in /usr/(s)bin: Problem: cannot install the best update candidate for package resource-agents-4.12.0-1.fc38.x86_64 - nothing provides /usr/sbin/mount.nfs needed by resource-agents-4.12.0-3.fc40.x86_64 from @commandline - nothing provides /usr/sbin/mount.nfs4 needed by resource-agents-4.12.0-3.fc40.x86_64 from @commandline - nothing provides /usr/sbin/rpc.statd needed by resource-agents-4.12.0-3.fc40.x86_64 from @commandline - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by resource-agents-4.12.0-3.fc40.x86_64 from @commandline They're still in /sbin on Fedora 39 builds as well: https://koji.fedoraproject.org/koji/rpminfo?rpmID=34298374
https://src.fedoraproject.org/rpms/resource-agents/pull-request/7 should resolve the issue.
With resource-agents-4.13.0-2.fc40.3, this should be fixed in F40+. I think it's fine if it's only fixed there, so I'm not submitting anything for the lower versions.
FEDORA-2024-d1ce2549b7 (resource-agents-4.13.0-2.fc40.3) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-d1ce2549b7
FEDORA-2024-d1ce2549b7 (resource-agents-4.13.0-2.fc40.3) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.