-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
containerbuilds failing in koji: Not Found ("lstat /usr/lib/sysimage/rpm: no such file or directory") #2027
Comments
This has been happening now for at least a couple of months and hence we don't have an up-to-date fedora-toolbox:37 image for GA yet unfortunately. |
How we are supposed to know it, if nobody reported it till today? We don't maintain fedorainfra. |
Please let us know if you are going with workaround to disable rpmqa. We will fix OSBS2 (or test if OSBS2 works fine with symlinks) In general we prefer to fix only OSBS2 and migration to OSBS2 |
That was kind of my expectation too
Well it is only last week that @cgwalters pointed out about rpmqa.py :) |
Btw do you have any idea why this issue only affects x86_64 and not aarch64? |
I mentioned in that pagure issue, that it looks that you have disabled that plugin for aarch64, from logs it looks it didn't even run |
See https://pagure.io/releng/issue/11092 for more background.
As noted there, in Fedora 36+
/var/lib/rpm
is now a symlink to/usr/lib/sysimage/rpm
.Whereas https://github.com/containerbuildsystem/atomic-reactor/blob/master/atomic_reactor/plugins/rpmqa.py#L20 still seem to hardcode RPMDB_PATH to
/var/lib/rpm
, which then causes the x86_64 container builds of fedora-toolbox to fail. (We are not sure yet why aarch64 is not affected.) It should be easy to test changing the path or rather adapting to the new location - though Kevin also wonders if not using rpmqa could be a temporary workaround?The text was updated successfully, but these errors were encountered: