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

Open
kzantow opened this issue Sep 4, 2024 · 1 comment · May be fixed by #3228
Open

Identify bash.preinst #3191

kzantow opened this issue Sep 4, 2024 · 1 comment · May be 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

@wagoodman wagoodman linked a pull request Sep 18, 2024 that will close this issue
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
Status: In Review
Development

Successfully merging a pull request may close this issue.

2 participants