FS#55550 - [firejail] There is currently no way of using firejail by default for specific programs

Attached to Project: Community Packages
Opened by buttcake (buttcake) - Thursday, 07 September 2017, 23:36 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 12 September 2017, 03:13 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Creating symlinks for programs in /usr/local/bin/ to /usr/bin/firejail in order to start them automatically with under firejail no longer works.
This also means firecfg is ineffective.
This bug was introduced recently and I've been using unsandboxed applications for a while.
I just realized now because I looked into it to see why dns rules haven't been applied lately.
The same behaviour is also present with firejail-git from AUR.

This is limited to firejail. I also have 2 symlinks in /usr/loca/bin for busybox and they work.

firejail <program> works as intended

Additional info:
0.9.48-1

Steps to reproduce:
+ have [testing] enabled
+ have firejail and a program with a profile available by default ( ex: less )
+ run firecfg as root or su -c 'ln -s /usr/bin/firejail /usr/local/bin/less'
+ running less should trigger 'firejail less' but it just runs less
+ 'firejail less' works as expected
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Tuesday, 12 September 2017, 03:13 GMT
Reason for closing:  No response
Comment by Doug Newgard (Scimmia) - Friday, 08 September 2017, 00:59 GMT
Sounds like a $PATH issue

Loading...