Skip to content
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

Open
juhp opened this issue Nov 13, 2022 · 7 comments

Comments

@juhp
Copy link

juhp commented Nov 13, 2022

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?

@juhp juhp changed the title containerbuilds failing in koji with 'Not Found (\\"lstat /usr/lib/sysimage/rpm: no such file or directory' containerbuilds failing in koji: Not Found ("lstat /usr/lib/sysimage/rpm: no such file or directory") Nov 13, 2022
@juhp
Copy link
Author

juhp commented Nov 13, 2022

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.

@MartinBasti
Copy link
Contributor

This has been happening now for at least a couple of months

How we are supposed to know it, if nobody reported it till today? We don't maintain fedorainfra.

@MartinBasti
Copy link
Contributor

@MartinBasti
Copy link
Contributor

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

@juhp
Copy link
Author

juhp commented Nov 15, 2022

In general we prefer to fix only OSBS2 and migration to OSBS2

That was kind of my expectation too

How we are supposed to know it, if nobody reported it till today?

Well it is only last week that @cgwalters pointed out about rpmqa.py :)

@juhp
Copy link
Author

juhp commented Nov 15, 2022

Btw do you have any idea why this issue only affects x86_64 and not aarch64?

@MartinBasti
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants