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

Kirill Ponomarev <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEJCHRFhEAQujKni1pDyI9/LMCykUFAmmxcdwACgkQDyI9/LMC
ykXHIQf/ZgMlusfooYgYR3yRStvXwOY5vEdnvQzISDxSi1MfkeZPWHl+vqq9fC0K
UgD4iVG1AmfY0VVA5qt5C0EzeCUr4Ax3O0GsZpf4JJqjcSg6Ij0aErfDBAWZpnnz
Ln4kjX8V1HNijlZoScQNWcoXG1XqDMQqmS1K+RFIHkWG9cD3wRmx6oXBIiIxsOZP
rsow3xDo9TymvRCuKBbcO1vrj9/MjpCdweXILZl4DYWytZHQlqJyh6UE8WunR0t2
+B2cZ3a+1ZKDW+wPjOjkk0yjfqRlQUtpX2a0VxH/6iXIvknK97Jc4QSvx9U2/k/C
yDBuliw+Lo4S9MEcZZkqJf5uvrWTag==
=PFUs
-----END PGP SIGNATURE-----
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.