[GH-ISSUE #4900] quiet from mediainfo.profile does not suppress 'Reading profile...' message #2810

Closed
opened 2026-05-05 09:27:55 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @rieje on GitHub (Feb 4, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4900

Description

firejail mediainfo --quiet correctly suppresses Reading profile /etc/firejail/mediainfo.profile from output, whereas quiet from ~/.config/firejail/mediainfo.local does not.

Expected behavior

The latter should also suppress that message.

Actual behavior

It does not.

Environment

  • Arch Linux
  • Firejail version 0.9.66

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)
Originally created by @rieje on GitHub (Feb 4, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/4900 ### Description `firejail mediainfo --quiet` correctly suppresses `Reading profile /etc/firejail/mediainfo.profile` from output, whereas `quiet` from `~/.config/firejail/mediainfo.local` does not. ### Expected behavior The latter should also suppress that message. ### Actual behavior It does not. ### Environment - Arch Linux - Firejail version 0.9.66 ### 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). - [X] 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). - [X] 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)
Author
Owner

@rusty-snake commented on GitHub (Feb 4, 2022):

This is expected behaviour, quiet must be the first (uncommented) command in a profile, before any other command (including include) because it only affects later commands.

We had this already somewhere else, can't find it right now.

Related: #3503.

<!-- gh-comment-id:1030106914 --> @rusty-snake commented on GitHub (Feb 4, 2022): This is expected behaviour, **`quiet` must be the first** (uncommented) **command** in a profile, before any other command (including `include`) because it only affects later commands. We had this already somewhere else, can't find it right now. Related: #3503.
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#2810
No description provided.