First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 25366
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: SpanKY <vapier@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andreas Kobara <abusch@gmx.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 25366 depends on: Show dependency tree
Bug 25366 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-07-27 05:40 0000
erlang seems to run its own shell (eshell) during the build process,
but then fails when trying to allocate a terminal outside the sandbox.

Is there a workaround for that ?
I saw similar sandbox problems with apache long directory path and others,
but this one is more unique I think.
I'm running 2.4.20-gentoo-r5, portage-2.0.48-r7 and coreutils-5.0.

I get the following output:
...
ACCESS DENIED  open_wr:   /dev/pty/s1
Eshell V5.2.3.3  (abort with ^G)
1> erlc boot_linker.erl
erlc -W  -bbeam -W -I
/var/tmp/portage/erlang-9c-r1/work/otp_src_R9B-1/lib/stdlib/include -o./ ecc.erl
erlc -W  -bbeam -W -I
/var/tmp/portage/erlang-9c-r1/work/otp_src_R9B-1/lib/stdlib/include -o./ elink.erl
echo "compile:file(fake_demand_epp), halt()." | erl
ACCESS DENIED  open_wr:   /dev/pty/s1
Eshell V5.2.3.3  (abort with ^G)
1> echo "compile:file(fake_error_handler), halt()." | erl
ACCESS DENIED  open_wr:   /dev/pty/s1
Eshell V5.2.3.3  (abort with ^G)
1> echo "compile:file(fake_demand_init), halt()." | erl
ACCESS DENIED  open_wr:   /dev/pty/s1
Eshell V5.2.3.3  (abort with ^G)
1> echo "boot_tools:make_tools(), halt()." | erl -env ERL_BEAM_EVM
/var/tmp/portage/erlang-9c-r1/work/otp_src_R9B-1/bin/i686-pc-linux-gnu/beam_evm
ACCESS DENIED  open_wr:   /dev/pty/s1
Eshell V5.2.3.3  (abort with ^G)
1> done
done
...
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-erlang-9c-r1-1433.log"
                                                                               
                                                         
 open_wr:   /dev/pty/s1
 open_wr:   /dev/pty/s1
 open_wr:   /dev/pty/s1
 open_wr:   /dev/pty/s1
 open_wr:   /dev/pty/s1
 --------------------------------------------------------------------------------

------- Comment #1 From SpanKY 2003-07-27 11:27:17 0000 -------
`emerge info` please and tell me how you are connecting to the box ... 
are you running a terminal in X ?  ssh session ?  console ? 

------- Comment #2 From Andreas Kobara 2003-07-27 11:53:41 0000 -------
I did emerge erlang from within a gnome terminal (XFree).
According to your hint, I tried compile on a console,
and IT WORKED ! Thx !

Maybe just add a comment to the ebuild ?


------- Comment #3 From SpanKY 2003-07-28 06:34:45 0000 -------
nah, i added a `addpredict` so that the ebuild will lie to erlang and tell
it that it wrote to the terminal when it really didnt ;)

thanks for the report

First Last Prev Next    No search results available      Search page      Enter new bug