[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275053

            Bug ID: 275053
           Summary: ports-mgmt/pkg periodic jobs do not play well with
                    readonly mounted filesystems
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: accounts@manon.de
             Flags: maintainer-feedback?(pkg@FreeBSD.org)
          Assignee: pkg@FreeBSD.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.