mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3823] Unable to start hexchat with firejail #2411
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#2411
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 @ibahnasy on GitHub (Dec 15, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3823
Distro: Arch Linux
Firejail: 0.9.64
Hexchat: 2.14.3
I can run hexchat with firejail using "--noprofile" only now, however it was working fine before.
Here is the log
@rusty-snake commented on GitHub (Dec 15, 2020):
Work for me: Fedora 32, hexchat 2.14.3.
Are there any error in the terminal or in the syslog?
@ibahnasy commented on GitHub (Dec 15, 2020):
I'm not seeing any errors but when I try to launch it, the CPU fan spins so high and no more output logged in the terminal until I kill it.
@reinerh commented on GitHub (Dec 15, 2020):
Works here as well (HexChat 2.14.3, Firejail 0.9.64, Debian).
@rusty-snake commented on GitHub (Dec 16, 2020):
Anyway, if it works with
--noprofile, one (or more) command in the profile (or it's includes) causes this. Can you comment the profile and then uncomment it line for line.@ibahnasy commented on GitHub (Dec 17, 2020):
Commenting "include disable-shell.inc" AND "private-bin hexchat,python" in /etc/firejail/hexchat.profile make it works!
@rusty-snake commented on GitHub (Dec 17, 2020):
Depending on what shell is used, a hexchat.local like this should works.
Is /usr/bin/hexchat a shellscript?
@ibahnasy commented on GitHub (Dec 17, 2020):
/usr/bin/hexchat: ELF 64-bit LSB pie executable
@reinerh commented on GitHub (Dec 17, 2020):
Is this also the one that is executed? Does
which hexchatshow the same path?@rusty-snake commented on GitHub (Dec 17, 2020):
Better:
which -a hexchatorwhere hexchat, aswhich hexchatwill only show/usr/local/bin/hexchat(firecfg).@ibahnasy commented on GitHub (Dec 17, 2020):
$ which -a hexchat
/usr/bin/hexchat
@ibahnasy commented on GitHub (Dec 18, 2020):
I want to add that there is a feature in hexhcat that is "Open link in browser" which didn't work before when using the hexchat firejaij's profile but after disabling the above to options, this feature works fine.
@rusty-snake commented on GitHub (Jan 4, 2021):
Because the sandbox can now start /usr/bin/firefox. Before with the
private hexchat,python*, there was no /usr/bin/firefox in the sandbox.Does my suggestion from above (noblacklist + private-bin) work? note: you maybe need to add other shells like bash.
@ibahnasy commented on GitHub (Jan 4, 2021):
With your suggestion hexchat doesn't start at all giving this error: "Error: no suitable hexchat executable found"
@rusty-snake commented on GitHub (Jan 4, 2021):
You need to undo your comments in hexchat.profile.
@ibahnasy commented on GitHub (Jan 4, 2021):
Yes I did that but still throw that error.
@rusty-snake commented on GitHub (Apr 6, 2021):
Any progress here?
@rusty-snake commented on GitHub (May 12, 2021):
I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.
@ibahnasy commented on GitHub (May 16, 2021):
I'm still having the same issue btw.
@rusty-snake commented on GitHub (May 16, 2021):
Can you try
if this does not help, what is the private-bin line generated by
firejail --build hexchat?@ibahnasy commented on GitHub (May 16, 2021):
Your suggestion made it work.
BTW,
firejail --build hexchaproduce empty private-bin line.@rusty-snake commented on GitHub (May 16, 2021):
This is the same as https://github.com/netblue30/firejail/issues/3823#issuecomment-747438910, but there I forgot that we
blacklistshandbash. If we now onlynoblacklistshbutbashis stillblacklisted andshis a symlink tobash, it can not work.Since hexchat needs
/bin/shunder Arch (for any reasons), we should allow it. Allowingshdoes weaken the profile lesser then droppingprivate-bin.