[GH-ISSUE #636] Do not print anything in --quiet mode #439

Closed
opened 2026-05-05 05:51:56 -06:00 by gitea-mirror · 10 comments
Owner

Originally created by @vn971 on GitHub (Jul 17, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/636

A minor issue. Firejail should not print anything in quiet mode.

firejail --noprofile --quiet true

Originally created by @vn971 on GitHub (Jul 17, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/636 A minor issue. Firejail should not print anything in `quiet` mode. `firejail --noprofile --quiet true`
gitea-mirror 2026-05-05 05:51:56 -06:00
Author
Owner

@netblue30 commented on GitHub (Jul 18, 2016):

This was already fixed in git. What version are you running?

<!-- gh-comment-id:233317101 --> @netblue30 commented on GitHub (Jul 18, 2016): This was already fixed in git. What version are you running?
Author
Owner

@vn971 commented on GitHub (Jul 18, 2016):

I re-compiled just now. (In ArchLinux via this package: https://aur.archlinux.org/packages/firejail-git/ https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=firejail-git).

The output I get:

[16:46:49:vasya@p850a:~] firejail --version
firejail version 0.9.41
[16:46:52:vasya@p850a:~] firejail --noprofile --quiet true

[16:49:05:vasya@p850a:~] 
<!-- gh-comment-id:233352113 --> @vn971 commented on GitHub (Jul 18, 2016): I re-compiled just now. (In ArchLinux via this package: https://aur.archlinux.org/packages/firejail-git/ https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=firejail-git). The output I get: ``` [16:46:49:vasya@p850a:~] firejail --version firejail version 0.9.41 [16:46:52:vasya@p850a:~] firejail --noprofile --quiet true [16:49:05:vasya@p850a:~] ```
Author
Owner

@netblue30 commented on GitHub (Jul 20, 2016):

Cool, I'll close it for now. Keep an eye on it, this --quiet thing seems to break from time to time, as I add new features. Thanks!

<!-- gh-comment-id:233986162 --> @netblue30 commented on GitHub (Jul 20, 2016): Cool, I'll close it for now. Keep an eye on it, this --quiet thing seems to break from time to time, as I add new features. Thanks!
Author
Owner

@vn971 commented on GitHub (Jul 20, 2016):

@netblue30 wait, the issue is still here. I compiled firejail just now to check https://github.com/netblue30/firejail/issues/498 but firejail --quiet still shows the text above (one unnecessary \n).

<!-- gh-comment-id:234031416 --> @vn971 commented on GitHub (Jul 20, 2016): @netblue30 wait, the issue is still here. I compiled `firejail` just now to check https://github.com/netblue30/firejail/issues/498 but `firejail --quiet` still shows the text above (one unnecessary \n).
Author
Owner

@icefox commented on GitHub (Aug 8, 2016):

Debian backports using firejail version 0.9.40 has this bug...

<!-- gh-comment-id:238262767 --> @icefox commented on GitHub (Aug 8, 2016): Debian backports using firejail version 0.9.40 has this bug...
Author
Owner

@icefox commented on GitHub (Aug 8, 2016):

It is a bit surprising actually as I would expect quiet to be the default mode and --verbose to be the option I turn on to get debug output.

this --quiet thing seems to break from time to time

You want to fix that once and for all. It is hard to use a wrapper if you can't trust it to not interfere with output.

<!-- gh-comment-id:238263798 --> @icefox commented on GitHub (Aug 8, 2016): It is a bit surprising actually as I would expect quiet to be the default mode and --verbose to be the option I turn on to get debug output. > this --quiet thing seems to break from time to time You want to fix that once and for all. It is hard to use a wrapper if you can't trust it to not interfere with output.
Author
Owner

@netblue30 commented on GitHub (Aug 9, 2016):

There have been some changes to quiet since 0.9.40. I'll make it easy to run it as a wrapper from a bash script

<!-- gh-comment-id:238530439 --> @netblue30 commented on GitHub (Aug 9, 2016): There have been some changes to quiet since 0.9.40. I'll make it easy to run it as a wrapper from a bash script
Author
Owner

@vn971 commented on GitHub (Aug 11, 2016):

@netblue30 yeah, it still needs fixing. Re-compiled firejail just now to check.

<!-- gh-comment-id:239146862 --> @vn971 commented on GitHub (Aug 11, 2016): @netblue30 yeah, it still needs fixing. Re-compiled firejail just now to check.
Author
Owner

@netblue30 commented on GitHub (Aug 11, 2016):

I've just added support to disable all output by default. In a text editor open /etc/firejail/firejail.config and add:

quiet-by-default yes
<!-- gh-comment-id:239284382 --> @netblue30 commented on GitHub (Aug 11, 2016): I've just added support to disable all output by default. In a text editor open /etc/firejail/firejail.config and add: ``` quiet-by-default yes ```
Author
Owner

@vn971 commented on GitHub (Aug 12, 2016):

@netblue30 Thanks!
To explain this to others, I observe the new version of firejail supporting both the --quiet flag and the configuration option. The behavior itself seems to be fixed.

<!-- gh-comment-id:239392245 --> @vn971 commented on GitHub (Aug 12, 2016): @netblue30 Thanks! To explain this to others, I observe the new version of firejail supporting both the `--quiet` flag and the configuration option. The behavior itself seems to be fixed.
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#439
No description provided.