-
Notifications
You must be signed in to change notification settings - Fork 587
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
RPM database not found on ostree-managed systems #1755
Labels
bug
Something isn't working
Comments
fpytloun
added a commit
to fpytloun/syft
that referenced
this issue
Apr 21, 2023
fpytloun
added a commit
to fpytloun/syft
that referenced
this issue
May 1, 2023
fixes: anchore#1755 Signed-off-by: Filip Pytloun <filip@pytloun.cz>
fpytloun
added a commit
to fpytloun/syft
that referenced
this issue
May 2, 2023
fixes: anchore#1755 Signed-off-by: Filip Pytloun <filip@pytloun.cz>
fpytloun
added a commit
to fpytloun/syft
that referenced
this issue
May 2, 2023
Fixes: anchore#1755 Co-authored-by: Alex Goodman <alex.goodman@anchore.com> Signed-off-by: Filip Pytloun <filip@pytloun.cz>
fpytloun
added a commit
to fpytloun/syft
that referenced
this issue
May 2, 2023
Fixes: anchore#1755 Co-authored-by: Alex Goodman <alex.goodman@anchore.com> Signed-off-by: Filip Pytloun <filip@pytloun.cz>
wagoodman
added a commit
that referenced
this issue
May 2, 2023
Fixes: #1755 Signed-off-by: Filip Pytloun <filip@pytloun.cz> Co-authored-by: Alex Goodman <alex.goodman@anchore.com>
This was referenced May 8, 2023
Merged
Closed
This was referenced May 22, 2023
GijsCalis
pushed a commit
to GijsCalis/syft
that referenced
this issue
Feb 19, 2024
…hore#1756) Fixes: anchore#1755 Signed-off-by: Filip Pytloun <filip@pytloun.cz> Co-authored-by: Alex Goodman <alex.goodman@anchore.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened:
RPM database is hard-coded to be scanned in
/var/lib/rpm
but ostree-managed system has immutable RPM database thus stored in/usr/share/rpm
:What you expected to happen:
Syft should be able to use
/usr/share/rpm
if present.Steps to reproduce the issue:
Have some OSTree-managed image (eg. CentOS 7 Atomic or some custom system)
Anything else we need to know?:
Possible solution is here:
https://github.com/anchore/syft/blob/main/syft/pkg/rpm_metadata.go#L14
Environment:
syft version
:cat /etc/os-release
or similar):The text was updated successfully, but these errors were encountered: