Bug 2519713

Summary: rpm-ostree fails to discover repo configs after Fedora 45 RelocateRpmRepoConfigsToUsr change
Product: [Fedora] Fedora Reporter: Paul Whalen <pwhalen>
Component: rpm-ostreeAssignee: Colin Walters <walters>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 45CC: amurdaca, coreos-sig, dustymabe, jmarrero, jonathan, miabbott, pbrobinson, rhbz, robatino, tbueno, travier, walters
Target Milestone: ---Flags: fedora-admin-xmlrpc: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://openqa.fedoraproject.org/tests/5139093#step/rpmostree_overlay/21
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-21 07:13:02 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: 2406952    

Description Paul Whalen 2026-08-19 15:30:41 UTC
The Fedora 45 change RelocateRpmRepoConfigsToUsr (https://fedoraproject.org/wiki/Changes/RelocateRpmRepoConfigsToUsr) relocated RPM repo configs from /etc/yum.repos.d/ to /usr/lib/yum.repos.d/. rpm-ostree does not read from the new location, causing repo discovery failures.

Reproducible: Always

Steps to Reproduce:
1. Boot F45 IoT edition, attempt to install a layered package

Actual Results:
[root@localhost ~]# rpm-ostree install httpd 
Checking out tree 93498e5... done
error: No enabled repositories


Expected Results:
Package installed.

Version:
rpm -q rpm-ostree ostree
rpm-ostree-2026.2-3.fc45.x86_64
ostree-2026.3-1.fc45.x86_64

Comment 1 Fedora Blocker Bugs Application 2026-08-19 15:34:24 UTC
Proposed as a Blocker for 45-beta by Fedora user pwhalen using the blocker tracking app because:

 "It must be possible to install additional software with the rpm-ostree install command."

Comment 2 Adam Williamson (Red Hat non-Fedora) 2026-08-19 22:41:29 UTC
This is already reported as https://github.com/coreos/rpm-ostree/issues/5623 and a proposed fix is in https://github.com/coreos/rpm-ostree/pull/5624 , I am testing it at present.

Comment 3 Adam Williamson (Red Hat non-Fedora) 2026-08-20 21:06:03 UTC
Should be fixed by https://bodhi.fedoraproject.org/updates/FEDORA-2026-a4b06888f4 , confirming ATM.

Comment 4 Adam Williamson (Red Hat non-Fedora) 2026-08-21 07:13:02 UTC
Confirmed.