aboutcode-org / aboutcode-org/scancode.io

Refine handling of large files in container and rootfs scans

未關閉
#1,461 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
215
分支
203
平均合併
4 天 8 小時
30 天內合併 PR
6

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。