[GH-ISSUE #1673] Cannot start with firejail by default #1131

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

Originally created by @qutetemp on GitHub (Dec 12, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1673

I cannot get programs to start with firejail as default using sudo ln -s /usr/bin/firejail /usr/local/bin/[program name] but firejail [program name] works just fine.

% echo $PATH
/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

Is it the path oder ?

Originally created by @qutetemp on GitHub (Dec 12, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1673 I cannot get programs to start with firejail as default using sudo ln -s /usr/bin/firejail /usr/local/bin/[program name] but firejail [program name] works just fine. % echo $PATH /usr/bin:/usr/local/sbin:/usr/local/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl Is it the path oder ?
Author
Owner

@SkewedZeppelin commented on GitHub (Dec 12, 2017):

Eh that should work, have you tried simply running sudo firecfg?

Oh silly me, your /usr/bin is before your /usr/local/bin, local needs to take precedence. You can probably fix it by editing /etc/profile

<!-- gh-comment-id:350936355 --> @SkewedZeppelin commented on GitHub (Dec 12, 2017): ~~Eh that should work, have you tried simply running `sudo firecfg`?~~ Oh silly me, your /usr/bin is before your /usr/local/bin, local needs to take precedence. You can probably fix it by editing /etc/profile
Author
Owner

@qutetemp commented on GitHub (Dec 12, 2017):

Yep. That was it. Thank you.

<!-- gh-comment-id:350960580 --> @qutetemp commented on GitHub (Dec 12, 2017): Yep. That was it. Thank you.
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#1131
No description provided.