about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-09-15 14:42:54 -0700
committerEric Wong <normalperson@yhbt.net>2010-10-04 20:13:36 +0000
commit0bf83bb4246aefe172e2c5adcb8b28bda9dae283 (patch)
treec5fe066c9ab19721db12d460a9550fdd3ead6896
parent2023d725a57b400d8f19a6aad2e7d119ee27d7f3 (diff)
downloadunicorn-0bf83bb4246aefe172e2c5adcb8b28bda9dae283.tar.gz
Thanks to Lawrence Pit, Jamie Wilkinson, and Eirik Dentz Sinclair.

ref: mid.gmane.org/4C8986DA.7090603@gmail.com
ref: mid.gmane.org/5F1A02DB-CBDA-4302-9E26-8050C2D72433@efficiency20.com
(cherry picked from commit 1a75966a5d1a1f6307ed3386e2f91a28bbb72ca0)
-rw-r--r--Sandbox9
1 files changed, 9 insertions, 0 deletions
diff --git a/Sandbox b/Sandbox
index d2f7590..d101106 100644
--- a/Sandbox
+++ b/Sandbox
@@ -24,6 +24,9 @@ this:
 Then use HUP to reload, and then continue with the USR2+QUIT upgrade
 sequence.
 
+Environment variable pollution when exec-ing a new process (with USR2)
+is the primary issue with sandboxing tools such as Bundler and Isolate.
+
 == Bundler
 
 === Running
@@ -42,6 +45,12 @@ This is no longer be an issue as of bundler 0.9.17
 
 ref: http://mid.gmane.org/8FC34B23-5994-41CC-B5AF-7198EF06909E@tramchase.com
 
+=== Other ENV pollution issues
+
+You may need to set or reset BUNDLE_GEMFILE, GEM_HOME, GEM_PATH and PATH
+environment variables in the before_exec hook as illustrated by
+http://gist.github.com/534668
+
 == Isolate
 
 === Running