Subject: Re: pkgsrc calls pkgchk on Solaris
To: None <segv@netctl.net>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 11/20/2005 10:42:40
On Sat, Nov 19, 2005 at 02:57:40AM +0000, segv@netctl.net wrote:

> When building editors/vim-gtk2 inside chroot jail, I get the following error
> messages
> 
> pkgchk: ERROR: unable to create contents file </var/sadm/install/contents>: No
> such file or directory (errno 2: No such file or directory)
> pkgchk: ERROR: unable to create contents file </var/sadm/install/contents>: No
> such file or directory (errno 2: No such file or directory)
> ===> Checking for vulnerabilities in vim-gtk2-6.4.0
> pkgchk: ERROR: unable to create contents file </var/sadm/install/contents>: No
> such file or directory (errno 2: No such file or directory)
> 
> Anyone knows why pkgchk is called?

to determine the builtin status of various libraries which are shipped
with Solaris.

you can use the mksandbox script in mk/bulk for creating your chroot
jail, which includes /var/sadm (read-only) for this reason.

grant.