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

Refine handling of large files in container and rootfs scans #1461

Open
pombredanne opened this issue Dec 9, 2024 · 0 comments
Open

Refine handling of large files in container and rootfs scans #1461

pombredanne opened this issue Dec 9, 2024 · 0 comments

Comments

@pombredanne
Copy link
Member

Based on a rootfs scan of this QCOW2: https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud-Base.latest.x86_64.qcow2 , in Rocky linux and likely other RPM-based distros and other rootfs and containers too, these files take a long time to scan and we get:

ERROR: for scanner: licenses: ERROR: Processing interrupted: timeout after 120 seconds.

  • /usr/bin/ld.bfd : this is the GNU linker and is a large ~30+ MB binary and should in general be detected separately and not scanned as a plain file
  • /var/lib/rpm/rpmdb.sqlite : should not be scanned as a plain file, as this is processed using the rpm db analysis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant