Date: Mon, 3 Jun 2002 00:13:13 -0400 From: The Anarcat <anarcat@anarcat.ath.cx> To: libh@FreeBSD.org Subject: HEADS UP: package install broken (Re: cvs commit: libh/release/scripts/pkgtools create_db.tcl) Message-ID: <20020603041313.GJ288@lenny.anarcat.ath.cx> In-Reply-To: <20020603041006.33C8F17407@usw4.freebsd.org> References: <20020603041006.33C8F17407@usw4.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--VSVNCtZB1QZ8vhj+ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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]% ../../../co= mpile/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]% ../../../co= mpile/none/tclh.static directory_access.tcl=20 allow directories: /usr/local anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../co= mpile/none/tclh.static directory_access.tcl /opt allow directories: /usr/local new allowed: /opt anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../co= mpile/none/tclh.static directory_access.tcl =20 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=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 Why bother building more nukes until we use the ones we already have? --VSVNCtZB1QZ8vhj+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+uzYttcWHAnWiGcRAt++AJ9dv0IWXcL6hDxpBthTuAH8fExa4wCcDggG q78YhqH/KMSMXslIzREALTg= =1JKl -----END PGP SIGNATURE----- --VSVNCtZB1QZ8vhj+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020603041313.GJ288>