[GH-ISSUE #1754] cannot start hexchat #1191

Closed
opened 2026-05-05 07:37:44 -06:00 by gitea-mirror · 10 comments
Owner

Originally created by @allorder on GitHub (Jan 29, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1754

Hello, I did :
$ firecfg --fix-sound
$ sudo firecfg
& I rebooted.

Since then I cannot start hexchat.

in the terminal :
$ hexchat
Redirecting symlink to /usr/bin/hexchat
Reading profile /etc/firejail/hexchat.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/whitelist-common.inc
Parent pid 3002, child pid 3003
Blacklist violations are logged to syslog
Child process initialized
Can't locate File/Spec.pm: /usr/share/perl5/File/Spec.pm: Permission denied at lib/HexChat.pm line 19.
BEGIN failed--compilation aborted at lib/HexChat.pm line 19.

Parent is shutting down, bye...

Distro: Debian 9.3
firejail : Version: 0.9.44.8-2

Originally created by @allorder on GitHub (Jan 29, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1754 Hello, I did : $ firecfg --fix-sound $ sudo firecfg & I rebooted. Since then I cannot start hexchat. in the terminal : $ hexchat Redirecting symlink to /usr/bin/hexchat Reading profile /etc/firejail/hexchat.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/whitelist-common.inc Parent pid 3002, child pid 3003 Blacklist violations are logged to syslog Child process initialized Can't locate File/Spec.pm: /usr/share/perl5/File/Spec.pm: Permission denied at lib/HexChat.pm line 19. BEGIN failed--compilation aborted at lib/HexChat.pm line 19. Parent is shutting down, bye... Distro: Debian 9.3 firejail : Version: 0.9.44.8-2
Author
Owner

@SkewedZeppelin commented on GitHub (Jan 29, 2018):

sudo sed -i 's/private-bin/#private-bin/' /etc/firejail/hexchat.profile

private-bin will need to be updated with necessary perl names

<!-- gh-comment-id:361113506 --> @SkewedZeppelin commented on GitHub (Jan 29, 2018): ```sudo sed -i 's/private-bin/#private-bin/' /etc/firejail/hexchat.profile``` private-bin will need to be updated with necessary perl names
Author
Owner

@allorder commented on GitHub (Jan 29, 2018):

I should run this command or I need to edit something ?

<!-- gh-comment-id:361114165 --> @allorder commented on GitHub (Jan 29, 2018): I should run this command or I need to edit something ?
Author
Owner

@SkewedZeppelin commented on GitHub (Jan 29, 2018):

@allorder you can either run the command or manually edit /etc/firejail/hexchat.profile with your favorite editor and comment out private-bin.

<!-- gh-comment-id:361114446 --> @SkewedZeppelin commented on GitHub (Jan 29, 2018): @allorder you can either run the command or manually edit `/etc/firejail/hexchat.profile` with your favorite editor and comment out `private-bin`.
Author
Owner

@allorder commented on GitHub (Jan 29, 2018):

I did it, same error. I also tried:

private-bin hexchat,perl
private-bin hexchat,perl*

Same error.

I updated firejail from backports to Version: 0.9.50-3~bpo9+1

Didn't help..

<!-- gh-comment-id:361116222 --> @allorder commented on GitHub (Jan 29, 2018): I did it, same error. I also tried: private-bin hexchat,perl private-bin hexchat,perl* Same error. I updated firejail from backports to Version: 0.9.50-3~bpo9+1 Didn't help..
Author
Owner

@Fred-Barclay commented on GitHub (Jan 29, 2018):

@allorder Do you have any hexchat plugins?

<!-- gh-comment-id:361120813 --> @Fred-Barclay commented on GitHub (Jan 29, 2018): @allorder Do you have any hexchat plugins?
Author
Owner

@allorder commented on GitHub (Jan 29, 2018):

@Fred-Barclay Yes

<!-- gh-comment-id:361120881 --> @allorder commented on GitHub (Jan 29, 2018): @Fred-Barclay Yes
Author
Owner

@Fred-Barclay commented on GitHub (Jan 29, 2018):

Can you list which ones? (How did you install them too? - just trying to get a similar setup here so I can debug this more easily)

<!-- gh-comment-id:361122190 --> @Fred-Barclay commented on GitHub (Jan 29, 2018): Can you list which ones? (How did you install them too? - just trying to get a similar setup here so I can debug this more easily)
Author
Owner

@allorder commented on GitHub (Jan 29, 2018):

It's one in perl and one in python.
Just put them in /home/YOURUSER/.config/hexchat/addons/

https://files.fm/u/8k4tt73h

<!-- gh-comment-id:361123806 --> @allorder commented on GitHub (Jan 29, 2018): It's one in perl and one in python. Just put them in /home/YOURUSER/.config/hexchat/addons/ https://files.fm/u/8k4tt73h
Author
Owner

@Fred-Barclay commented on GitHub (Jan 29, 2018):

@allorder , can you copy new profile in f76dc38 to ~/.config/firejail/hexchat.profile and see if it works now? It looks like using a perl plugin in hexchat requires access to /usr/share/perl/, which we disable with the include disable-devel.inc bit. It should all be fixed now (hopefully) 😄 .

<!-- gh-comment-id:361145528 --> @Fred-Barclay commented on GitHub (Jan 29, 2018): @allorder , can you copy new profile in f76dc38 to ~/.config/firejail/hexchat.profile and see if it works now? It looks like using a perl plugin in hexchat requires access to /usr/share/perl/, which we disable with the `include disable-devel.inc` bit. It should all be fixed now (hopefully) 😄 .
Author
Owner

@allorder commented on GitHub (Jan 29, 2018):

Thanks! It work ! :)

<!-- gh-comment-id:361243571 --> @allorder commented on GitHub (Jan 29, 2018): Thanks! It work ! :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1191
No description provided.