-
Bug
-
Resolution: Done
-
Undefined
-
clair-4.7.2
-
None
-
False
-
None
-
False
-
-
ClairCore is unable to read the rpmdb of docker.io/ansible/awx_task@sha256:2b319b88c938b3e3e3832275bd304b24991cb03d32c685f9cbb187ae1da48eef because of the following error:
failed to scan all layer contents: layer \"sha256:bb3fddc88a906630731b5d91dc47d733f7be6f6b6196eca47171dc85d1b7116f\": rpm: error reading native db: rpm: error reading headers: bdb: expected data length botch: 4836 != 4008
When running the container and checking
$ rpm -qa --queryformat '%{NAME}\n%{EVR}\n\n'
everything seems fine.
It's possible the db has a mistake in it, or the bdb reader is miscalculating the size