Opened 11 years ago

Closed 10 years ago

#40185 closed defect (worksforme)

tracemode ignores value of `sandbox_enable` in macports.conf

Reported by: cooljeanius (Eric Gallager) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: base Version: 2.2.0
Keywords: Cc:
Port:

Description

I had previously been experiencing #39850, so I used the workaround and set sandbox_enable no in my macports.conf. However, later I decided to try to build something in trace mode for development purposes, and I started running into the issue in #39850 again. Last time I asked cal about how tracemode and the sandboxing that MacPorts 2.2 brings interacted with one another, he said that they were two separate things, so if that's the case, then it should be possible to run the tracemode sandbox without also having the system sandbox also automatically get activated (by setting sandbox_enable no in macports.conf, that is). Anyways, that's at least how I'd expect it to work...

Change History (6)

comment:1 Changed 11 years ago by neverpanic (Clemens Lang)

Cc: cal@… removed
Owner: changed from macports-tickets@… to cal@…

Sandboxing is only used when sandbox_enable isn't set to no, even if you use trace mode. If you're seeing #39850 again that it's either not exactly #39850, but a similar bug in trace mode, or a genuine bug in the port you're trying to build. Please attach a main.log of a failed build.

comment:2 Changed 11 years ago by neverpanic (Clemens Lang)

Also, are you reporting this against 2.2 or trunk?

comment:3 Changed 11 years ago by neverpanic (Clemens Lang)

Bump.

comment:4 in reply to:  3 Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to cal@…:

Bump.

Right, sorry, I've been away for a while... I have to get some other stuff sorted out first, and then I'll attach some logs...

comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)

Huh, that's strange, I was trying to reproduce so that I could attach logs, and now the error is different than the one I was seeing in the OP... now the error is:

/opt/local/var/macports/build/_opt_local_var_macports_sources_LocalPorts_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/configure: line 2025: config.log: Permission denied

Maybe this is just an error in the portfile I'm developing...

comment:6 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: worksforme
Status: newclosed

I'm going to close this as worksforme for now. Feel free to re-open if you can reproduce the problem again.

Note: See TracTickets for help on using tickets.