Re: [OE-core] [PATCH][RFC] cve-check: use local copy instead of global db

2022-02-23 Thread Ross Burton
This seems really suboptimal. The only operation which writes to the sqlite database is the fetch task of cve-update-db-native, everything else is read-only. Or should be... I just discovered a function which was failing to open the database read-only, which is possible the cause of the problem.

Re: [OE-core] [PATCH][RFC] cve-check: use local copy instead of global db

2022-02-22 Thread Ralph Siemsen
On Tue, Feb 22, 2022 at 07:46:59PM +0100, Konrad Weihmann wrote: instead of using a global DB (default in DL_DIR) copy an existing DB file into WORKDIR and use it from there. This should avoid running into the reported "database is readonly" error while at the same time there's no need to arbritr

[OE-core] [PATCH][RFC] cve-check: use local copy instead of global db

2022-02-22 Thread Konrad Weihmann
instead of using a global DB (default in DL_DIR) copy an existing DB file into WORKDIR and use it from there. This should avoid running into the reported "database is readonly" error while at the same time there's no need to arbritrarily limit the cve_check task to just one run at a time Signed-of