From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_DYNAMIC autolearn=unavailable autolearn_force=no version=4.0.0 Received: from coral.cfftechnologies.com (dsl081-147-127.chi1.dsl.speakeasy.net [64.81.147.127]) by chiba.3jane.net (Postfix) with ESMTP id 13B16AC502 for ; Mon, 29 Apr 2002 12:15:50 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by coral.cfftechnologies.com (Postfix on SuSE Linux 7.2 (i386)) with ESMTP id 714BF12FB1C for ; Mon, 29 Apr 2002 12:19:32 -0500 (CDT) Received: from d225.sosmarketplace.com (garm-x.sosmarketplace.com [63.98.0.66]) by coral.cfftechnologies.com (Postfix on SuSE Linux 7.2 (i386)) with ESMTP id EBB8512F926 for ; Mon, 29 Apr 2002 12:19:30 -0500 (CDT) Subject: Re: [gentoo-dev] ebuild failing with sandbox violation From: Avi Schwartz To: gentoo-dev@gentoo.org In-Reply-To: <85256BAA.005E77DD.00@notes.nyso.org> References: <85256BAA.005E77DD.00@notes.nyso.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 29 Apr 2002 12:16:55 -0500 Message-Id: <1020100616.9248.15.camel@seahorse.cfftechnologies.world> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS snapshot-20010714 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: e4ccc9c1-7cb4-468d-a767-1f12dd802b1d X-Archives-Hash: 15d7317097d0b62ea26f25d095f0dd19 In my very short ebuild experience, I have seen these sandbox violations in two cases: 1) If I forgot to add the ${D} prefix to the directory specifications in src_install() or did not set DESTDIR properly. 2) The program's Makefile ignores ${DESTDIR}. This is quite common when /etc is involved. If you will take a look at the dev-db/unixODBC ebuild, you will see that the Makefile.in is modified to add ${DESTDIR} in front of the /etc directory to fix this. Avi On Mon, 2002-04-29 at 12:19, jurquijo@nyso.org wrote: > Can anyone point me to a doc or mailing list post that describes sandbox > violations? > > I've written an ebuild for imwheel and it used to work/install fine on a > gentoo rc6 system I had installed. > > Trying to install the same ebuild on a recently built system fails with a > "sandbox violation" when the ebuild tries to create /etc/imwheelrc. > > I thought that in all steps prior to the "merge" command, ebuilds were > built in a "safe" temporary environment before being copied to the live > filesystem. -- Avi Schwartz avi@CFFtechnologies.com