[GH-ISSUE #3116] --audit and shell=none #1951

Closed
opened 2026-05-05 08:37:05 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @rusty-snake on GitHub (Jan 3, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3116

Run firejail --profile=any-profile-that-has-shell_none --audit will end with
Error: shell=none configured, but no program specified. But it is not necessary to so specify a program if the profile is given with --profile and the program is never started because of --audit.

Originally created by @rusty-snake on GitHub (Jan 3, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3116 Run `firejail --profile=any-profile-that-has-shell_none --audit` will end with `Error: shell=none configured, but no program specified`. But it is not necessary to so specify a program if the profile is given with `--profile` and the program is never started because of `--audit`.
gitea-mirror 2026-05-05 08:37:05 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ghost commented on GitHub (Jan 20, 2020):

But it is not necessary to so specify a program if the profile is given with --profile

I never interpreted the --profile option to imply a program name, it just loads a specific profile. In other words I'd consider that specific command to always be a no-op because it lacks a command (an application) the user wants to have audited. Do you regard this as a bug? I do agree that the specific error message could be more informative.

<!-- gh-comment-id:576298392 --> @ghost commented on GitHub (Jan 20, 2020): > But it is not necessary to so specify a program if the profile is given with --profile I never interpreted the `--profile` option to imply a program name, it just loads a specific profile. In other words I'd consider that specific command to always be a no-op because it lacks a command (an application) the user wants to have audited. Do you regard this as a bug? I do agree that the specific error message could be more informative.
Author
Owner

@rusty-snake commented on GitHub (Jan 20, 2020):

--audit audits the profile. => If firejail knows the profile (by adding a program name or using --profile) it can audit the profile.

bug? yes.

<!-- gh-comment-id:576301679 --> @rusty-snake commented on GitHub (Jan 20, 2020): `--audit` audits the profile. => If firejail knows the profile (by adding a program name or using --profile) it can audit the profile. bug? yes.
Author
Owner

@netblue30 commented on GitHub (Oct 1, 2020):

Fix is in, you can try it out.

<!-- gh-comment-id:702102025 --> @netblue30 commented on GitHub (Oct 1, 2020): Fix is in, you can try it out.
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#1951
No description provided.