mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4973] rmenv looks broken #2839
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2839
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Feb 24, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4973
I have a few custom profiles that use the
rmenvoption for applications I don't use that often. Yesterday I did and noticed that the environment variables I wanted removed from the sandbox are still there. It happens with Firejail from master (my regular setup) and a quick test shows the same (broken) behaviour with 0.9.68 (installed via pacman from Arch Linux repo). See STR below. Can anyone reproduce?Also seeing it with
DISPLAY, although that has some special status in the codebase and I might be wrong here.@rusty-snake commented on GitHub (Feb 24, 2022):
If you double-quote the string you want to echo the parameter and variable expansion is done by your interactive non-sandboxed shell.
@rusty-snake commented on GitHub (Feb 24, 2022):
To inspect environment variables inside the sandbox (with an oneliner) you can use
printenv:@rusty-snake commented on GitHub (Feb 24, 2022):
@ghost commented on GitHub (Feb 24, 2022):
@rusty-snake Thanks for the tips on printenv. I had put some things in default.local, forgot about doing so and confused myself :-) All good, closing here.