[GH-ISSUE #5659] Using end-of-options indicator "--" and private-bin causes Cannot start application: No such file or directory #3057

Open
opened 2026-05-05 09:42:05 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @rusty-snake on GitHub (Feb 12, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5659

Description

Using private-bin and using -- causes Cannot start application.

Steps to Reproduce

  1. firejail --quiet --noprofile --private-bin=echo -- echo TARDIS

Expected behavior

See TARDIS.

Actual behavior

Cannot start application: No such file or directory

Behavior without a profile

N/A

Additional context

This does not happen with firejail --quiet --noprofile --private-bin=echo echo TARDIS.

Relates to #5599.
Relates to #5598.
Relates to #5605.
Relates to #5606.

Environment

Checklist

  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)

Log

Originally created by @rusty-snake on GitHub (Feb 12, 2023). Original GitHub issue: https://github.com/netblue30/firejail/issues/5659 ### Description Using `private-bin` and using -- causes `Cannot start application`. ### Steps to Reproduce 1. `firejail --quiet --noprofile --private-bin=echo -- echo TARDIS` ### Expected behavior See `TARDIS`. ### Actual behavior `Cannot start application: No such file or directory` ### Behavior without a profile N/A ### Additional context This does not happen with `firejail --quiet --noprofile --private-bin=echo echo TARDIS`. Relates to #5599. Relates to #5598. Relates to #5605. Relates to #5606. ### Environment - Fedora 37 - 45a641deaba84cb19126753f9bcfbbc14813f7c4 ### Checklist - [x] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [ ] I can reproduce the issue without custom modifications (e.g. globals.local). - [ ] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [ ] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [ ] I have performed a short search for similar issues (to avoid opening a duplicate). - [ ] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [ ] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages) ### Log
gitea-mirror added the
bug
label 2026-05-05 09:42:05 -06:00
Author
Owner

@rusty-snake commented on GitHub (Feb 14, 2023):

Looks like this is intentional. 7ad735deaf (diff-767ac3de885e9c994fed6eb2a0f8234fd8d8611a5f817d2b0a37b50f4101b321)

<!-- gh-comment-id:1429966643 --> @rusty-snake commented on GitHub (Feb 14, 2023): Looks like this is intentional. https://github.com/netblue30/firejail/commit/7ad735deafa80114a17b20790de63f7e973b1bb4#diff-767ac3de885e9c994fed6eb2a0f8234fd8d8611a5f817d2b0a37b50f4101b321
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#3057
No description provided.