Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--audit and shell=none #3116

Closed
rusty-snake opened this issue Jan 3, 2020 · 3 comments
Closed

--audit and shell=none #3116

rusty-snake opened this issue Jan 3, 2020 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@rusty-snake
Copy link
Collaborator

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.

@glitsj16
Copy link
Collaborator

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.

@rusty-snake
Copy link
Collaborator Author

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

bug? yes.

@glitsj16 glitsj16 added the bug Something isn't working label Jan 20, 2020
@reinerh reinerh added this to the 0.9.64 milestone Sep 1, 2020
netblue30 pushed a commit that referenced this issue Oct 1, 2020
@netblue30
Copy link
Owner

Fix is in, you can try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants