[GH-ISSUE #5340] discord: notifications are not shown #2965

Closed
opened 2026-05-05 09:37:49 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @LordMZTE on GitHub (Aug 24, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5340

Description

Describe the bug

Steps to Reproduce

Steps to reproduce the behavior

  1. Run firejail discord.
  2. Wait until you receive a message (A notification sound from discord indicates this).

Expected behavior

The notification daemon receives a notification event from discord over the session DBus.

Actual behavior

Firejail intercepts any DBus messages from discord.

Behavior without a profile

This issue doesn't occur.

Environment

  • Linux distribution: Arch, zen kernel version 5.19.3
  • Firejail version (firejail --version): 0.9.70

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

Output of LC_ALL=C firejail /path/to/program

Reading profile /etc/firejail/discord.profile
Reading profile /etc/firejail/discord-common.profile
Reading profile /etc/firejail/electron.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 13593, child pid 13594
Warning: not remounting /var/lib/docker/btrfs
Warning: not remounting /var/lib/docker/btrfs
Private /opt installed in 437.69 ms
14 programs installed in 68.05 ms
Warning: skipping alternatives for private /etc
Warning: skipping crypto-policies for private /etc
Warning: skipping ld.so.preload for private /etc
Warning: skipping password for private /etc
Warning: skipping pki for private /etc
Private /etc installed in 71.79 ms
Warning: skipping alternatives for private /usr/etc
Warning: skipping ca-certificates for private /usr/etc
Warning: skipping crypto-policies for private /usr/etc
Warning: skipping fonts for private /usr/etc
Warning: skipping group for private /usr/etc
Warning: skipping ld.so.cache for private /usr/etc
Warning: skipping ld.so.preload for private /usr/etc
Warning: skipping localtime for private /usr/etc
Warning: skipping login.defs for private /usr/etc
Warning: skipping machine-id for private /usr/etc
Warning: skipping password for private /usr/etc
Warning: skipping pki for private /usr/etc
Warning: skipping pulse for private /usr/etc
Warning: skipping resolv.conf for private /usr/etc
Warning: skipping ssl for private /usr/etc
Private /usr/etc installed in 1.50 ms
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Warning: not remounting /run/user/1000/doc
Child process initialized in 748.41 ms
Discord 0.0.19
Starting app.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/lordmzte/.config/discord/0.0.19/modules
[Modules] Module installed file path: /home/lordmzte/.config/discord/0.0.19/modules/installed.json
[Modules] Module download path: /home/lordmzte/.config/discord/0.0.19/modules/pending
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
[Modules] No module updates available.
Module ./ElectronTestRpc was not included.
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
[Modules] No module updates available.

Output of LC_ALL=C firejail --debug /path/to/program pastebin
Originally created by @LordMZTE on GitHub (Aug 24, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/5340 <!-- See the following links for help with formatting: https://guides.github.com/features/mastering-markdown/ https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax --> ### Description _Describe the bug_ ### Steps to Reproduce _Steps to reproduce the behavior_ 1. Run `firejail discord`. 2. Wait until you receive a message (A notification sound from discord indicates this). ### Expected behavior The notification daemon receives a notification event from discord over the session DBus. ### Actual behavior Firejail intercepts any DBus messages from discord. ### Behavior without a profile This issue doesn't occur. ### Environment - Linux distribution: Arch, zen kernel version 5.19.3 - Firejail version (`firejail --version`): 0.9.70 ### Checklist <!-- Note: Items are checked with an "x", like so: - [x] This is a checked item. --> - [x] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [x] 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`) - [x] 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) ### Log <details> <summary>Output of <code>LC_ALL=C firejail /path/to/program</code></summary> <p> ``` Reading profile /etc/firejail/discord.profile Reading profile /etc/firejail/discord-common.profile Reading profile /etc/firejail/electron.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-common.inc Reading profile /etc/firejail/whitelist-var-common.inc Parent pid 13593, child pid 13594 Warning: not remounting /var/lib/docker/btrfs Warning: not remounting /var/lib/docker/btrfs Private /opt installed in 437.69 ms 14 programs installed in 68.05 ms Warning: skipping alternatives for private /etc Warning: skipping crypto-policies for private /etc Warning: skipping ld.so.preload for private /etc Warning: skipping password for private /etc Warning: skipping pki for private /etc Private /etc installed in 71.79 ms Warning: skipping alternatives for private /usr/etc Warning: skipping ca-certificates for private /usr/etc Warning: skipping crypto-policies for private /usr/etc Warning: skipping fonts for private /usr/etc Warning: skipping group for private /usr/etc Warning: skipping ld.so.cache for private /usr/etc Warning: skipping ld.so.preload for private /usr/etc Warning: skipping localtime for private /usr/etc Warning: skipping login.defs for private /usr/etc Warning: skipping machine-id for private /usr/etc Warning: skipping password for private /usr/etc Warning: skipping pki for private /usr/etc Warning: skipping pulse for private /usr/etc Warning: skipping resolv.conf for private /usr/etc Warning: skipping ssl for private /usr/etc Private /usr/etc installed in 1.50 ms Warning: /sbin directory link was not blacklisted Warning: /usr/sbin directory link was not blacklisted Warning: not remounting /run/user/1000/doc Child process initialized in 748.41 ms Discord 0.0.19 Starting app. Starting updater. [Modules] Modules initializing [Modules] Distribution: remote [Modules] Host updates: enabled [Modules] Module updates: enabled [Modules] Module install path: /home/lordmzte/.config/discord/0.0.19/modules [Modules] Module installed file path: /home/lordmzte/.config/discord/0.0.19/modules/installed.json [Modules] Module download path: /home/lordmzte/.config/discord/0.0.19/modules/pending [Modules] No updates to install [Modules] Checking for host updates. [Modules] Host is up to date. [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json [Modules] No module updates available. Module ./ElectronTestRpc was not included. [Modules] Checking for host updates. [Modules] Host is up to date. [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json [Modules] No module updates available. ``` </p> </details> <details> <summary>Output of <code>LC_ALL=C firejail --debug /path/to/program</code></summary> <a href="https://pastebin.com/8H1HapLv">pastebin</a> </details>
gitea-mirror 2026-05-05 09:37:49 -06:00
  • closed this issue
  • added the
    notabug
    label
Author
Owner

@LordMZTE commented on GitHub (Aug 25, 2022):

Seems like I had a local override profile in place that caused this.

<!-- gh-comment-id:1227129957 --> @LordMZTE commented on GitHub (Aug 25, 2022): Seems like I had a local override profile in place that caused this.
Author
Owner

@kmk3 commented on GitHub (Aug 25, 2022):

(Re-closing as "not planned" since nothing was changed in firejail)

<!-- gh-comment-id:1227151997 --> @kmk3 commented on GitHub (Aug 25, 2022): (Re-closing as "not planned" since nothing was changed in firejail)
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#2965
No description provided.