Re: HEADS UP: package install broken (Re: cvs commit: libh/release/scripts/pkgtools create_db.tcl)

The Anarcat <[email protected]>
Newsgroups gmane.os.freebsd.devel.libh
Message-ID <[email protected]>
Ok. This should be fixed with the last commit on Database.cc.

Boy this one was a pain to track down.

A.

On Mon Jun 03, 2002 at 12:13:13AM -0400, The Anarcat wrote:
> There seems to be a bug in the directory access code. I can't install
> a package anymore since it seems that the allowed directory access
> defaults to /usr/local. Complete test case:
> 
> anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% rm -rf /var/db/npkg/*
> zsh: sure you want to delete all the files in /var/db/npkg [yn]? y
> anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../compile/none/tclh.static create_db.tcl /var/db/npkg /opt
> Database created in /var/db/npkg
> Adding /opt as default prefix...
> anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../compile/none/tclh.static directory_access.tcl 
> allow directories: /usr/local
> anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../compile/none/tclh.static directory_access.tcl  /opt
> allow directories: /usr/local
> new allowed: /opt
> anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../compile/none/tclh.static directory_access.tcl  
> allow directories: /usr/local
> 
> I'm still trying to figure out what the heck is going on here. As far
> as I can remember, this used to work.
> 
> A.
> 
> On Sun Jun 02, 2002 at 11:10:06PM -0500, Antoine Beaupré wrote:
> > antoine     2002/06/02 23:10:06 CDT
> > 
> >   Modified files:
> >     release/scripts/pkgtools create_db.tcl 
> >   Log:
> >   allow specification of allow directories on command line, to help
> >   debugging of a problem where allow directories list isn't updated
> >   
> >   Revision  Changes    Path
> >   1.6       +6 -3      libh/release/scripts/pkgtools/create_db.tcl
> > 
> > 
> > To Unsubscribe: send mail to [email protected]
> > with "unsubscribe freebsd-libh" in the body of the message
> 
> 
> 
> 



-- 
From the age of uniformity, from the age of solitude, from the age of
Big Brother, from the age of doublethink - greetings!
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE8+v0attcWHAnWiGcRAltWAJ9c5ptZwQZknYu2JGMt9jQ7QryDvQCfUbfE
CB9auCuP368LHO2upCOENQo=
=qzBl
-----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.