[ARVADOS] updated: db717120a687b2851e526117a135a45be75cba1a

git at public.curoverse.com git at public.curoverse.com
Thu Aug 6 13:21:27 EDT 2015


Summary of changes:
 services/api/script/crunch-dispatch.rb | 1 +
 1 file changed, 1 insertion(+)

       via  db717120a687b2851e526117a135a45be75cba1a (commit)
      from  b7c99efa73a3b0ccfec85915f04545d634b235b0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit db717120a687b2851e526117a135a45be75cba1a
Author: Brett Smith <brett at curoverse.com>
Date:   Thu Aug 6 13:21:09 2015 -0400

    crunch-dispatch preserves LD_LIBRARY_PATH environment variable.
    
    This helps it run better in environments using Software Collections to
    satisfy dependencies.  No issue #.

diff --git a/services/api/script/crunch-dispatch.rb b/services/api/script/crunch-dispatch.rb
index faba54d..27cb821 100755
--- a/services/api/script/crunch-dispatch.rb
+++ b/services/api/script/crunch-dispatch.rb
@@ -374,6 +374,7 @@ class Dispatcher
       if Server::Application.config.crunch_job_user
         cmd_args.unshift("sudo", "-E", "-u",
                          Server::Application.config.crunch_job_user,
+                         "LD_LIBRARY_PATH=#{ENV['LD_LIBRARY_PATH']}",
                          "PATH=#{ENV['PATH']}",
                          "PERLLIB=#{ENV['PERLLIB']}",
                          "PYTHONPATH=#{ENV['PYTHONPATH']}",

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list