help / color / mirror / Atom feed
From: dana <dana@dana.is>
To: dominik.vogt@gmx.de
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: DISPLAY problem with zsh + fvwm + firejail
Date: Wed, 1 Jan 2020 21:18:38 -0600
Message-ID: <094EF33B-8FB5-4DAE-8E68-B84529C49F35@dana.is> (raw)
In-Reply-To: <20200102025141.pn37a5fzsrhsyma2@gmx.de>

On 1 Jan 2020, at 20:51, Dominik Vogt <dominik.vogt@gmx.de> 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 <dominik.vogt@gmx.de> 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


      reply	other threads:[~2020-01-02  3:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-01 20:58 Dominik Vogt
2020-01-02  2:16 ` dana
2020-01-02  2:51   ` Dominik Vogt
2020-01-02  3:18     ` dana [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=094EF33B-8FB5-4DAE-8E68-B84529C49F35@dana.is \
    --to=dana@dana.is \
    --cc=dominik.vogt@gmx.de \
    --cc=zsh-users@zsh.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link


This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/zsh-users

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-users zsh-users/ http://inbox.vuxu.org/zsh-users \
	public-inbox-index zsh-users

Example config snippet for mirrors.
Newsgroup available over NNTP:

code repositories for the project(s) associated with this inbox:


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git