mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1682] Firejail doesn't pass env TMPDIR variable after update to 0.9.52 #1137
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#1137
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 @Vincent43 on GitHub (Dec 17, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1682
@netblue30 commented on GitHub (Dec 18, 2017):
I cannot reproduce it:
@Vincent43 commented on GitHub (Dec 18, 2017):
I investigated further and it seems that
norootoption breaks TMPDIR:@netblue30 commented on GitHub (Dec 18, 2017):
The problem seems to be --noprofile, without it works fine:
I'll try to find out what's going on, thanks for the bug!
@curiosity-seeker commented on GitHub (Dec 18, 2017):
@netblue30 : But as mentioned here the problem also exists with a profile.
@Vincent43 commented on GitHub (Dec 18, 2017):
For me it also happens when
norootis set in profile. That's why my first report was based on default.profile which hasnorootenabled.@Fred-Barclay commented on GitHub (Dec 18, 2017):
I'm seeing this too with
--noroot:Arch, running firejail built from latest code on GitHub today.
@chiraag-nataraj commented on GitHub (Mar 31, 2018):
I just ran across this same issue. Do we know what's causing it?
@Vincent43 commented on GitHub (Apr 1, 2018):
Someone would have to bisect this between 0.9.50 and 0.9.52.
@Vincent43 commented on GitHub (Apr 1, 2018):
Hmm, I tested all firejail versions since 0.9.46 and could reproduce this issue in all of them. That means it isn't related to firejail. I read that glibc blocks passing TMPDIR variable for setuid apps but then it should do it without
norootas well, which isn't the case.This issue is reproducible on Archlinux, don't know about other distros. It could be tied to some specific config or system packages versions.
@chiraag-nataraj commented on GitHub (Apr 7, 2018):
I'm having the issue on Debian as well, so I don't think it's distro-specific. How can I further help debug this?
@Vincent43 commented on GitHub (Apr 9, 2018):
It's fixed on my machine with
bbaba69f23