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 the enhancement New feature or request label Sep 4, 2024
@kzantow kzantow moved this to Ready in OSS Sep 4, 2024
@kzantow kzantow added the unknowns things syft does not detect label Sep 4, 2024
@wagoodman wagoodman self-assigned this Sep 12, 2024
@wagoodman wagoodman moved this from Ready to In Progress in OSS Sep 12, 2024
@wagoodman
Copy link
Contributor

I think this would be the way to go #3228

@wagoodman wagoodman moved this from In Progress to In Review in OSS Sep 18, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in OSS Oct 4, 2024
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