Skip to content

containerbuilds failing in koji: Not Found ("lstat /usr/lib/sysimage/rpm: no such file or directory") #2027

Description

@juhp

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions