Bug 275053 - ports-mgmt/pkg periodic jobs do not play well with readonly mounted filesystems
Summary: ports-mgmt/pkg periodic jobs do not play well with readonly mounted filesystems
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-13 13:49 UTC by Manon Goo
Modified: 2023-11-13 13:49 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (pkg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manon Goo 2023-11-13 13:49:08 UTC
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