From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 41e4bdb1 for ; Thu, 2 Jan 2020 03:17:21 +0000 (UTC) Received: (qmail 28276 invoked by alias); 2 Jan 2020 03:17:13 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24591 Received: (qmail 25442 invoked by uid 1010); 2 Jan 2020 03:17:13 -0000 X-Qmail-Scanner-Diagnostics: from mail-yw1-f50.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25677. spamassassin: 3.4.2. Clear:RC:0(209.85.161.50):SA:0(-1.9/5.0):. Processed in 1.670313 secs); 02 Jan 2020 03:17:13 -0000 X-Envelope-From: dana@dana.is X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.161.50 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Xyhtgy1PRR5odlEd3346ivZpFxV8FvykLSpSX3AYnzU=; b=rktiAPeiQAgG8TvWpuPaJ3GXXCUxea4PEe/pPlMtLG6PedKdGbMSEogM38UfUPFX3s BB7rv5om/xRp8c96VHIVEUdLwcyhnYvajd9UON8ozRjeyh8sokCxSkyKwLV1quG0o7FH hrQe5S4YAyLUj8sgkXie0fg5eZOsTOftlOHR3qZ1OuBTVISpgk27ugnHzGJkz8nlVTGi CqgmP4YyaNOPI9TbSRs32oW5MkONhhxz18DmU5TmscW5OQE7eORiaiS/kzuu1ch7kXJd j/2GWraqJUJUCEo4z7AoYWHBq8V9q+TFWeafXUPuTjG+jKMdj1oA9kNPBeXvSR7+//V5 orSw== X-Gm-Message-State: APjAAAUAtc2OPEbmRBpaB4zhXAVXzOJiCRqwiWHG8oklMEHXWlntPP9E fik/P+lbV9uhDUTsKoFYwJm4aw== X-Google-Smtp-Source: APXvYqyPAIMOZq4y7Q82Z1ZVY1NkyW5XE2QCCsNABEJ7VV9pmYrqPUFhFlQ2ZSJSetXFeJ7RjdFsUA== X-Received: by 2002:a81:c20e:: with SMTP id z14mr62636020ywc.384.1577934998552; Wed, 01 Jan 2020 19:16:38 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: DISPLAY problem with zsh + fvwm + firejail From: dana In-Reply-To: <20200102025141.pn37a5fzsrhsyma2@gmx.de> Date: Wed, 1 Jan 2020 21:18:38 -0600 Cc: Zsh Users Content-Transfer-Encoding: quoted-printable Message-Id: <094EF33B-8FB5-4DAE-8E68-B84529C49F35@dana.is> References: <20200101205833.puf6pb3cylcd47qt@gmx.de> <3C10D9A3-2DC6-4279-A242-77C6E9D9474B@dana.is> <20200102025141.pn37a5fzsrhsyma2@gmx.de> To: dominik.vogt@gmx.de X-Mailer: Apple Mail (2.3445.104.11) On 1 Jan 2020, at 20:51, Dominik Vogt wrote: > No, it's also empty. Note that firejail automatically runs the > command from a shell (zsh in this case) if its not explicitly told > otherwise Oh, i see. That should have been obvious from `exec firejail --debug = set`, but somehow i missed it. That explains why other shells were affected. On 1 Jan 2020, at 20:51, Dominik Vogt wrote: > But "exporting" variables is a concept of the shell, right? So an > execvp() in a random program knows nothing about "exporting" > variables - the called executable just inherits the whole > environment(?). You can manipulate the environment from any C application with setenv(), execve(), &c. But it sounds like in this case firejail is just passing = it through like you said. Glad you found it dana