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

Identify bash.preinst #3191

Closed
kzantow opened this issue Sep 4, 2024 · 1 comment · Fixed by #3228
Closed

Identify bash.preinst #3191

kzantow opened this issue Sep 4, 2024 · 1 comment · Fixed by #3228
Assignees
Labels
enhancement New feature or request unknowns things syft does not detect

Comments

@kzantow
Copy link
Contributor

kzantow commented Sep 4, 2024

What would you like to be added:
Syft does not appear to identify bash.preinst, which is present on many of the official Docker images.

Why is this needed:
Syft should be able to identify common executables at least as expected/known rather than unknown.

Additional context:
In the official docker images, as of this writing, there are 33 instances of this at /var/lib/dpkg/info/bash.preinst, which do not appear to be associated to any of the package-manager installed packages. From some basic web search, it looks like this may be a one-time script to associate /bin/sh with /bin/bash in some manner, but more investigation is needed where it comes from and why it doesn't get removed for proper classification.

@kzantow kzantow added enhancement New feature or request unknowns things syft does not detect labels Sep 4, 2024
@wagoodman wagoodman self-assigned this Sep 12, 2024
@wagoodman
Copy link
Contributor

I think this would be the way to go #3228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request unknowns things syft does not detect
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants