Subject: Re: Messes that packages leave
To: John Klos <john@ziaspace.com>
From: Dan McMahill <dmcmahill@NetBSD.org>
List: tech-pkg
Date: 06/12/2005 18:32:45
On Sun, Jun 12, 2005 at 03:14:35PM -0700, John Klos wrote:
> After doing a bulk build, I noticed that there are more packages nowadays
> which make and leave a mess. Just as an example, here's a small list of
> stuff left in / of the chroot:
>
> -rwxr-xr-x 1 root wheel 278 May 1 16:46 blender
> -r--r--r-- 1 root wheel 13982 Mar 20 17:50 celestia.schemas
> -r--r--r-- 1 root wheel 62777 Jan 8 01:59 gnats.el
> -rw-r--r-- 1 root wheel 0 May 2 12:53 powermanga.hi
> -rw-r--r-- 1 root wheel 0 May 2 12:53 powermanga.hi-easy
> -rw-r--r-- 1 root wheel 0 May 2 12:53 powermanga.hi-hard
> -rw-r--r-- 1 root wheel 18103 May 1 06:42 voice.conf
>
> Is this worth fixing in pkgsrc?
>
yes.
It might be useful for our sandboxed bulk build setup to make sure that
only /var/db/pkg and /usr/pkg are mounted r/w and everything else is
mounted r/o. Also, I've wondered about having the leftovers log search
over all of / instead of just /usr/pkg using something like the build
order file be used for a time stamp.
-Dan
--