search for: max_rpm_name_size

Displaying 2 results from an estimated 2 matches for "max_rpm_name_size".

2018 Nov 30
4
[PATCH 0/3] inspection: tweak limits of package manager files
I got a recent report of virt-v2v (via virt-p2v) failing to migrate a Fedora guest. The issue was that its /var/lib/rpm/Packages was bigger than our current limit (~410M vs 300M), hence the inspection failed. I took the liberty to refactor the limits of the these files, bumping the problematic one, and reducing the ones of the others (as they are supposed to be way smaller than the limit). Pino
2018 Nov 30
0
[PATCH 3/3] lib: inspect: tweak limits of package manager files
...tion/removal - * I have seen well over 100 MB databases. + * I have seen well over 400 MB databases. */ -#define MAX_RPM_PACKAGES_SIZE (300 * 1000 * 1000) +#define MAX_RPM_PACKAGES_SIZE (500 * 1000 * 1000) /* Maximum RPM 'Name' file we will download to /tmp. */ -#define MAX_RPM_NAME_SIZE (300 * 1000 * 1000) +#define MAX_RPM_NAME_SIZE (50 * 1000 * 1000) /* Maximum dpkg 'status' file we will download to /tmp. */ -#define MAX_DPKG_STATUS_SIZE (300 * 1000 * 1000) +#define MAX_DPKG_STATUS_SIZE (50 * 1000 * 1000) /* Maximum APK '...