mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3615] Opening up x-terminal-emulator with --noprofile exits the jail #2269
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#2269
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 @svc88 on GitHub (Aug 30, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3615
When i try to open up
x-terminal-emulatoror evenxfce4-terminalfromxfce4-terminallike this:firejail --noprofile x-terminal-emulatoror
firejail --noprofile xfce4-terminalIt opens up the terminal but it ends in the original terminal like this:
It exits the jail. Why? What am i doing wrong?
firejail version 0.9.62
PS:
I tried this in a VM of the same OS Xubuntu 18.04 but there it doesnt exit the jail and i dont know why
@rusty-snake commented on GitHub (Aug 30, 2020):
They blacklisted in disable-common.inc, but this is not included if you use
--noprofile. Do you have a xfce4-terminal symlink or use firejail as login-shell?@svc88 commented on GitHub (Aug 30, 2020):
my xfce4-terminal opens up from the icon in the whisker menu -
exo-open --launch TerminalEmulatorI dont know if i use firejail as login-shell, i just open up my terminal from the shortcut above and run the cmd
firejail --noprofile xfce4-terminaland all it does is exit the jail and open up yet another xfce4-terminal@svc88 commented on GitHub (Aug 30, 2020):
I even downloaded gnome-terminal and its doing the same thing.
I did more tests and noticed that it doesnt do it if i run this on a minimal Ubuntu Server 18.04 with Xfce4. Seems like its only doing it on a Xubuntu 18.04 Desktop and not sure why. Can you try reproduce?
Update:
More tests reveals that when i run
firejail --noprofile xfce4-terminalfromKonsole,xterm, orgnome-terminal, the jail works with noprofile, however the only time the jail exists unexpectedly is when running that cmd withinxfce4-terminalitself. (this all on Xubuntu Desktop)BUT, if i try this on Ubuntu Server + xfce4, the jail runs fine from within
xfce4-terminalSo im not sure why this happens.
@bbhtt commented on GitHub (Aug 31, 2020):
issue 240 here
/etc/alternatives/x-terminal-emulator -> /bin/example_terminal
@svc88 commented on GitHub (Aug 31, 2020):
@kortewegdevries makes sense thanks. However i dont see that issue mentioning anything about this:
If i missed anything in there regarding why xfce4-terminal jail runs fine if xfce4-terminal is installed on a Ubuntu Server + xfce4 environment, please tell me
@bbhtt commented on GitHub (Aug 31, 2020):
Do you mean the MinimalCD (https://help.ubuntu.com/community/Installation/MinimalCD) + xfce4 or this one https://ubuntu.com/server?
@svc88 commented on GitHub (Aug 31, 2020):
The second one. More precisely this: http://www.cdimage.ubuntu.com/ubuntu-server/bionic/daily-live/current/bionic-live-server-amd64.iso + minimal setup shown below:
@bbhtt commented on GitHub (Aug 31, 2020):
I tried with a Debian bullseye minimal cd+lxde, same behaviour; tried with the base 20.04 server+ubuntu-desktop meta package, still same. I don't know how server works but I can't think of a reason on why it'd be any different on aVM:
Maybe some else can offer insights...
@rusty-snake commented on GitHub (Oct 1, 2020):
still an issue?
@rusty-snake commented on GitHub (Nov 9, 2020):
I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.