From owner-freebsd-libh Sun Jun 2 22:24:24 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts15-srv.bellnexxia.net (tomts15.bellnexxia.net [209.226.175.3]) by hub.freebsd.org (Postfix) with ESMTP id 2CF9F37B406 for ; Sun, 2 Jun 2002 22:24:17 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.145.70]) by tomts15-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020603052416.DRQR3010.tomts15-srv.bellnexxia.net@shall.anarcat.ath.cx> for ; Mon, 3 Jun 2002 01:24:16 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 4E4A15; Mon, 3 Jun 2002 01:27:58 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 3 Jun 2002 01:22:34 -0400 Date: Mon, 3 Jun 2002 01:22:34 -0400 From: The Anarcat To: The Anarcat Cc: libh@FreeBSD.org Subject: Re: HEADS UP: package install broken (Re: cvs commit: libh/release/scripts/pkgtools create_db.tcl) Message-ID: <20020603052234.GK288@lenny.anarcat.ath.cx> References: <20020603041006.33C8F17407@usw4.freebsd.org> <20020603041313.GJ288@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hTKW8p8tUZ/8vLMe" Content-Disposition: inline In-Reply-To: <20020603041313.GJ288@lenny.anarcat.ath.cx> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --hTKW8p8tUZ/8vLMe Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% rm -rf /v= ar/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=20 > 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 =20 > allow directories: /usr/local >=20 > I'm still trying to figure out what the heck is going on here. As far > as I can remember, this used to work. >=20 > A. >=20 > On Sun Jun 02, 2002 at 11:10:06PM -0500, Antoine Beaupr=E9 wrote: > > antoine 2002/06/02 23:10:06 CDT > >=20 > > Modified files: > > release/scripts/pkgtools create_db.tcl=20 > > Log: > > allow specification of allow directories on command line, to help > > debugging of a problem where allow directories list isn't updated > > =20 > > Revision Changes Path > > 1.6 +6 -3 libh/release/scripts/pkgtools/create_db.tcl > >=20 > >=20 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-libh" in the body of the message >=20 >=20 >=20 >=20 --=20 =46rom the age of uniformity, from the age of solitude, from the age of Big Brother, from the age of doublethink - greetings! --hTKW8p8tUZ/8vLMe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+v0attcWHAnWiGcRAltWAJ9c5ptZwQZknYu2JGMt9jQ7QryDvQCfUbfE CB9auCuP368LHO2upCOENQo= =qzBl -----END PGP SIGNATURE----- --hTKW8p8tUZ/8vLMe-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message