You are not logged in.

#1 2023-01-17 10:59:23

spear8080
Guest

Firejail issues

Seems that i can't use man anymore when firejail configuration is active; i try to display the man manual here for example:

$ man man
/usr/bin/man: can't execute less: Operation not permitted
/usr/bin/man: command exited with status 255: (cd /usr/share/man && /usr/lib/man-db/zsoelim) | (cd /usr/share/man && /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -rLL=147n -rLT=147n -Tutf8)

However, when i do

# firecfg --clean
$ /usr/bin/man man

It works. So i guess it's something wrong with the firejail config files. Today i only updated packages (pacman -Syu) and whitelisted a directory on /etc/firejail/gajim.profile, and created /etc/firejail/gajim.local; Then i tried to display a man page of a command and this happened. After that, i tried to reboot, I reinstalled man, I reinstalled firejail but the issue is still here.

Also, when i do

$ less something.txt

It works, but the log is

/bin/bash: line 1: /usr/bin/source-highlight-esc.sh: No such file or directory

I don't know if this can help.

Can someone help me?

#2 2023-01-17 13:40:17

sammiev
Member
Registered: 2018-12-22
Posts: 95

Re: Firejail issues

There was a release of firejail that cause this issue yesterday if using firetools, running firejail from terminal works as expected. I rolled back firejail to the previous version with no joy. Not sure if this was reported upstream yet.

EDIT: I uninstalled firetools and installed firetools-git, everything works as expected.

Last edited by sammiev (2023-01-17 14:05:40)

Offline

Board footer

Powered by FluxBB