public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-dev] ncurses and sandbox
  2001-12-05 19:27 [gentoo-dev] ncurses and sandbox Grant Goodyear
@ 2001-12-05 18:30 ` Tod M. Neidt
  2001-12-06  0:17 ` Geert Bevin
  1 sibling, 0 replies; 5+ messages in thread
From: Tod M. Neidt @ 2001-12-05 18:30 UTC (permalink / raw
  To: gentoo-dev

Hi!

I saw similar sandbox violations when emerging fileutils when doing an
emerge update.  In my case, tempory files were trying to be written to
/tmp.

tod

On Wed, 2001-12-05 at 19:27, Grant Goodyear wrote:
> I started to build a new system, and I decided to sandbox the
> entire build.  I emerged sys-apps/sandbox _before_ even the bootstrap
> step, I commented out the portage build in scripts/bootstrap.sh, and
> I started the bootstrap.  Surprisingly, it seems that the ncurses
> configure script creates files outside of ${D}:
> 
> --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox14465.log"
> 
> unlink:    /usr/tmp/conftest9012345
> unlink:    /usr/tmp/conftest9012346
> unlink:    /usr/lib/conftest9012345
> unlink:    /usr/lib/conftest9012346
> --------------------------------------------------------------------------------
> 
> I took a look at the configure script, and it seems that the 
> ac_sys_long_file_names test writes (and then afterwards unlinks)
> files in /usr/tmp and /usr/lib.  Any suggestions?  (Also, it appears
> that the sandbox allows those conftest* files to be installed, but
> not unlinked.  Is that what was wanted?)
> 
> -g2boojum-
> -- 
> ___________________________________________________________________
> |     Grant Goodyear                  |  The Secrets of Physics:   |
> |     Dept. of Chemistry - Clemson U  |1. Add zero.                |
> |     Clemson, SC  29634              |2. Multiply by one.         |
> |-------------------------------------|3. Expand in a Taylor series|
> |e-mail: goodyea@clemson.edu          |4. Integrate by parts.      |
> |www:bernacchi.chem.uh.edu/~grant     |5. Fourier transform.       |
> |                                     |6. Add auxiliary variables  |
> |_____________________________________|____________________________|
>  
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
> 




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-dev] ncurses and sandbox
@ 2001-12-05 19:27 Grant Goodyear
  2001-12-05 18:30 ` Tod M. Neidt
  2001-12-06  0:17 ` Geert Bevin
  0 siblings, 2 replies; 5+ messages in thread
From: Grant Goodyear @ 2001-12-05 19:27 UTC (permalink / raw
  To: gentoo-dev

I started to build a new system, and I decided to sandbox the
entire build.  I emerged sys-apps/sandbox _before_ even the bootstrap
step, I commented out the portage build in scripts/bootstrap.sh, and
I started the bootstrap.  Surprisingly, it seems that the ncurses
configure script creates files outside of ${D}:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox14465.log"

unlink:    /usr/tmp/conftest9012345
unlink:    /usr/tmp/conftest9012346
unlink:    /usr/lib/conftest9012345
unlink:    /usr/lib/conftest9012346
--------------------------------------------------------------------------------

I took a look at the configure script, and it seems that the 
ac_sys_long_file_names test writes (and then afterwards unlinks)
files in /usr/tmp and /usr/lib.  Any suggestions?  (Also, it appears
that the sandbox allows those conftest* files to be installed, but
not unlinked.  Is that what was wanted?)

-g2boojum-
-- 
___________________________________________________________________
|     Grant Goodyear                  |  The Secrets of Physics:   |
|     Dept. of Chemistry - Clemson U  |1. Add zero.                |
|     Clemson, SC  29634              |2. Multiply by one.         |
|-------------------------------------|3. Expand in a Taylor series|
|e-mail: goodyea@clemson.edu          |4. Integrate by parts.      |
|www:bernacchi.chem.uh.edu/~grant     |5. Fourier transform.       |
|                                     |6. Add auxiliary variables  |
|_____________________________________|____________________________|
 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] ncurses and sandbox
  2001-12-05 19:27 [gentoo-dev] ncurses and sandbox Grant Goodyear
  2001-12-05 18:30 ` Tod M. Neidt
@ 2001-12-06  0:17 ` Geert Bevin
  2001-12-06  0:24   ` [gentoo-dev] Sandbox ebuild Tom von Schwerdtner
  1 sibling, 1 reply; 5+ messages in thread
From: Geert Bevin @ 2001-12-06  0:17 UTC (permalink / raw
  To: gentoo-dev

Hi,

I checked this and it's almost 100% sure that this is due to your bash
being the default portage bash. In fact for the sandbox to work fully,
bash should be linked dynamically instead of of statically. Then you get
these errors instead :

------------------------ ACCESS VIOLATION SUMMARY-----------------------
LOG FILE = "/tmp/sandbox19055.log"

open_wr:   /usr/tmp/conftest9012345
open_wr:   /usr/tmp/conftest9012346
-------------------------------------------------------------------------

and it never arrives at the unlink stage.

The package should be checked though why this is happening.

Geert.

On Wed, 2001-12-05 at 20:27, Grant Goodyear wrote:
> I started to build a new system, and I decided to sandbox the
> entire build.  I emerged sys-apps/sandbox _before_ even the bootstrap
> step, I commented out the portage build in scripts/bootstrap.sh, and
> I started the bootstrap.  Surprisingly, it seems that the ncurses
> configure script creates files outside of ${D}:
> 
> --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox14465.log"
> 
> unlink:    /usr/tmp/conftest9012345
> unlink:    /usr/tmp/conftest9012346
> unlink:    /usr/lib/conftest9012345
> unlink:    /usr/lib/conftest9012346
> --------------------------------------------------------------------------------
> 
> I took a look at the configure script, and it seems that the 
> ac_sys_long_file_names test writes (and then afterwards unlinks)
> files in /usr/tmp and /usr/lib.  Any suggestions?  (Also, it appears
> that the sandbox allows those conftest* files to be installed, but
> not unlinked.  Is that what was wanted?)
> 
> -g2boojum-
-- 
Geert Bevin
the Leaf sprl/bvba
"Use what you need"           Pierre Theunisstraat 1/47
http://www.theleaf.be         1030 Brussels
gbevin@theleaf.be             Tel & Fax +32 2 241 19 98



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-dev] Sandbox ebuild
  2001-12-06  0:17 ` Geert Bevin
@ 2001-12-06  0:24   ` Tom von Schwerdtner
  2001-12-06  2:20     ` Geert Bevin
  0 siblings, 1 reply; 5+ messages in thread
From: Tom von Schwerdtner @ 2001-12-06  0:24 UTC (permalink / raw
  To: gentoo-dev

Hey Bevin,

I havent a clue where this problem resides, but after "emerge 
sys-apps/sandbox" (from your mail to the list), 
/var/tmp/portage/sandbox.... isnt cleaned out (the work/ dir is still 
there).

FYI and all...

-Tom




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Sandbox ebuild
  2001-12-06  0:24   ` [gentoo-dev] Sandbox ebuild Tom von Schwerdtner
@ 2001-12-06  2:20     ` Geert Bevin
  0 siblings, 0 replies; 5+ messages in thread
From: Geert Bevin @ 2001-12-06  2:20 UTC (permalink / raw
  To: gentoo-dev

Thanks for the info. I have no clue what the reason might be. Also it
happens only sometimes.

On Thu, 2001-12-06 at 01:24, Tom von Schwerdtner wrote:
> Hey Bevin,
> 
> I havent a clue where this problem resides, but after "emerge 
> sys-apps/sandbox" (from your mail to the list), 
> /var/tmp/portage/sandbox.... isnt cleaned out (the work/ dir is still 
> there).
> 
> FYI and all...
> 
> -Tom

-- 
Geert Bevin
the Leaf sprl/bvba
"Use what you need"           Pierre Theunisstraat 1/47
http://www.theleaf.be         1030 Brussels
gbevin@theleaf.be             Tel & Fax +32 2 241 19 98



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-12-06  2:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-05 19:27 [gentoo-dev] ncurses and sandbox Grant Goodyear
2001-12-05 18:30 ` Tod M. Neidt
2001-12-06  0:17 ` Geert Bevin
2001-12-06  0:24   ` [gentoo-dev] Sandbox ebuild Tom von Schwerdtner
2001-12-06  2:20     ` Geert Bevin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox