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, Baptiste Daroussin wrote:
> 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.

You're right, the latest poudriere in the ports handles this. However,
the updated package hasn't landed in the official pkg repository yet
so LOCAL_MTREE_EXCLUDES is a temporary workaround until the new
package is available
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEJCHRFhEAQujKni1pDyI9/LMCykUFAmmxd60ACgkQDyI9/LMC
ykXNoAgAkNI00ZqXU2uI/A2Ywzem/gVxa385ybuN1Yk4YzTCVkuwwtl+Rz4EVNjp
lpm37UfvDC4DwAdHLxHX71JifEdqe+1oiEjtTmSkcS52GNHvw5MWXryrixH+myGN
uNG3SHaQElfYj+5gOzfVAQzbOPzd9/V2iQ/JSaX62O8Wz+iXfTp04laNB7tBvNnh
K/LTbAyW7htuo2o4t0FPYJhgaaWI+z2FsKHYZRqIw7YKNp0c8Wr79ei+mhwQHyMf
7GeNSVQCHmhwiaPHYoVmggx8x/Ys6eoIkZJsvZVneFfbDWeXrryfSsXOusaOioX9
H/DHtllyBpUwH4/MiFxo3IQJZEjc5w==
=Y8AG
-----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.