Re: Several ports fail in poudriere with fs_violations leaving the files /var/db/pkg/local.sqlite-shm and /var/db/pkg/local.sqlite-wal

Baptiste Daroussin <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
On Wed 11 Mar 13:45, Kirill Ponomarev wrote:
> On 03/11, Yuri wrote:
> > Many ports fail with fs_violation:
> > =>> Error: Filesystem touched during build:
> > extra: var/db/pkg/local.sqlite-shm
> > extra: var/db/pkg/local.sqlite-wal
> > 
> > 
> > 
> > It looks like pkg is malfunctioning in poudriere because these files are
> > only opened by pkg.
> 
> Add this to your /usr/local/etc/poudriere.conf:
> LOCAL_MTREE_EXCLUDES="/var/db/pkg"
> 
> This tells poudriere to ignore changes under /var/db/pkg when checking
> for filesystem violations after build. The sqlite-shm and sqlite-wal
> files are WAL-mode artifacts left by pkg and are harmless. I guess
> that came with pkg 2.6.2, it now uses SQLite WAL mode which leaves
> behind -shm and -wal files after operations on
> /var/db/pkg/local.sqlite

This is not needed all poudriere version available in the ports tree
are handling this fine, just use a version up to date.

Best regards,
Bapt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.