Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2D923200BAE for ; Thu, 13 Oct 2016 18:00:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2C4A4160AFA; Thu, 13 Oct 2016 16:00:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A4A4F160AF8 for ; Thu, 13 Oct 2016 18:00:28 +0200 (CEST) Received: (qmail 26218 invoked by uid 500); 13 Oct 2016 16:00:27 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 25701 invoked by uid 99); 13 Oct 2016 16:00:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2016 16:00:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5A1622C4C7F for ; Thu, 13 Oct 2016 16:00:27 +0000 (UTC) Date: Thu, 13 Oct 2016 16:00:27 +0000 (UTC) From: "Jie Yu (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MESOS-6323) 'mesos-containerizer launch' should inherit agent environment variables. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 13 Oct 2016 16:00:29 -0000 [ https://issues.apache.org/jira/browse/MESOS-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jie Yu updated MESOS-6323: -------------------------- Story Points: 5 > 'mesos-containerizer launch' should inherit agent environment variables. > ------------------------------------------------------------------------ > > Key: MESOS-6323 > URL: https://issues.apache.org/jira/browse/MESOS-6323 > Project: Mesos > Issue Type: Bug > Reporter: Jie Yu > Assignee: Jie Yu > Priority: Critical > Labels: mesosphere > Fix For: 1.1.0 > > > If some dynamic libraries that agent depends on are stored in a non standard location, and the operator starts the agent using LD_LIBRARY_PATH. When we actually fork/exec the 'mesos-containerizer launch' helper, we need to make sure it inherits agent's environment variables. Otherwise, it might throw linking errors. This makes sense because it's a Mesos controlled process. > However, the the helper actually fork/exec the user container (or executor), we need to make sure to strip the agent environment variables. > The tricky case is for default executor and command executor. These two are controlled by Mesos as well, we also want them to have agent environment variables. We need to somehow distinguish this from custom executor case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)