maintainer-feedback requested: [Bug 275053] ports-mgmt/pkg periodic jobs do not play well with readonly mounted filesystems

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Nov 2023 13:49:08 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody)
<pkg@FreeBSD.org> for maintainer-feedback:
Bug 275053: ports-mgmt/pkg periodic jobs do not play well with readonly mounted
filesystems
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275053



--- Description ---
Hello,

The following issues would improve the handling on readonly filesystems:

1.) /usr/local/etc/periodic/security/410.pkg-audit  & 
/usr/local/etc/periodic/security/405.pkg-base-audit

Add an option to to specify "-f File" so that the vulnxml file can be located
outside of /var/db/pkg. 

2.)  /usr/local/sbin/pkg check -qsa tries to open the sqliteDB Files in RW
mode.  From my understanding this is not necessary for the check operations.

Kind Regards,
Manon