[GH-ISSUE #5790] keepassxc: cannot access freedesktop.org secret service #3091

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

Originally created by @kirasok on GitHub (Apr 17, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5790

Description

keepassxc fails to enable secret service integration

Steps to Reproduce

Steps to reproduce the behavior

  1. Run in bash LC_ALL=C firejail keepassxc
  2. Click on 'Tools -> Settings -> Secret Service Integration'
  3. Enable KeepassXC Freedesktop.org secret service integration
  4. Click OK
  5. See error Fdo Secret Service: Failed to register DBus service at org.freedesktop.secrets. Another secret service is running (PID: Unknown, Executable: Unknown). Please stop/remove it before re-enabling the Secret Service Integration.

Expected behavior

It can be enabled without error

Actual behavior

It can't be enabled without error

Behavior without a profile

It can be enabled without error

Environment

  • Linux distribution and version - "Arch Linux"
  • Firejail version (firejail --version).
    firejail version 0.9.72
    Compile time support:
    • always force nonewprivs support is disabled
    • AppArmor support is enabled
    • AppImage support is enabled
    • chroot support is enabled
    • D-BUS proxy support is enabled
    • file transfer support is enabled
    • firetunnel support is disabled
    • IDS support is disabled
    • networking support is enabled
    • output logging is enabled
    • overlayfs support is disabled
    • private-home support is enabled
    • private-cache and tmpfs as user enabled
    • SELinux support is disabled
    • user namespace support is enabled
    • X11 sandboxing support is enabled

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.

Log

Output of LC_ALL=C firejail keepassxc

Reading profile /etc/firejail/keepassxc.profile
Reading profile /etc/firejail/keepassxc.local
Reading profile /etc/firejail/globals.local
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-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-shell.inc
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /etc/firejail/whitelist-run-common.inc
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Seccomp list in: !name_to_handle_at, check list: @default-keep, prelist: unknown,
Parent pid 57757, child pid 57763
3 programs installed in 10.03 ms
Warning: skipping alternatives for private /etc
Warning: skipping ld.so.preload for private /etc
Private /etc installed in 3.38 ms
Private /usr/etc installed in 0.00 ms
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Warning: not remounting /run/user/1000/doc
Seccomp list in: !name_to_handle_at, check list: @default-keep, prelist: unknown,
Warning: cleaning all supplementary groups
Child process initialized in 102.04 ms
libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such file or directory)
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Originally created by @kirasok on GitHub (Apr 17, 2023). Original GitHub issue: https://github.com/netblue30/firejail/issues/5790 <!-- 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 keepassxc fails to enable secret service integration ### Steps to Reproduce _Steps to reproduce the behavior_ 1. Run in bash `LC_ALL=C firejail keepassxc` 2. Click on 'Tools -> Settings -> Secret Service Integration' 3. Enable KeepassXC Freedesktop.org secret service integration 4. Click OK 5. See error `Fdo Secret Service: Failed to register DBus service at org.freedesktop.secrets. Another secret service is running (PID: Unknown, Executable: Unknown). Please stop/remove it before re-enabling the Secret Service Integration.` ### Expected behavior It can be enabled without error ### Actual behavior It can't be enabled without error ### Behavior without a profile It can be enabled without error ### Environment - Linux distribution and version - "Arch Linux" - Firejail version (`firejail --version`). firejail version 0.9.72 Compile time support: - always force nonewprivs support is disabled - AppArmor support is enabled - AppImage support is enabled - chroot support is enabled - D-BUS proxy support is enabled - file transfer support is enabled - firetunnel support is disabled - IDS support is disabled - networking support is enabled - output logging is enabled - overlayfs support is disabled - private-home support is enabled - private-cache and tmpfs as user enabled - SELinux support is disabled - user namespace support is enabled - X11 sandboxing support is enabled ### 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). - [x] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. ### Log <details> <summary>Output of <code>LC_ALL=C firejail keepassxc</code></summary> <p> ``` Reading profile /etc/firejail/keepassxc.profile Reading profile /etc/firejail/keepassxc.local Reading profile /etc/firejail/globals.local 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-interpreters.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-shell.inc Reading profile /etc/firejail/disable-xdg.inc Reading profile /etc/firejail/whitelist-run-common.inc Reading profile /etc/firejail/whitelist-usr-share-common.inc Reading profile /etc/firejail/whitelist-var-common.inc Seccomp list in: !name_to_handle_at, check list: @default-keep, prelist: unknown, Parent pid 57757, child pid 57763 3 programs installed in 10.03 ms Warning: skipping alternatives for private /etc Warning: skipping ld.so.preload for private /etc Private /etc installed in 3.38 ms Private /usr/etc installed in 0.00 ms Warning: /sbin directory link was not blacklisted Warning: /usr/sbin directory link was not blacklisted Warning: not remounting /run/user/1000/doc Seccomp list in: !name_to_handle_at, check list: @default-keep, prelist: unknown, Warning: cleaning all supplementary groups Child process initialized in 102.04 ms libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such file or directory) qt.qpa.wayland: Wayland does not support QWindow::requestActivate() qt.qpa.wayland: Wayland does not support QWindow::requestActivate() ``` </p> </details>
gitea-mirror 2026-05-05 09:43:58 -06:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@rusty-snake commented on GitHub (Apr 17, 2023):

Duplicated of #3329

<!-- gh-comment-id:1510848167 --> @rusty-snake commented on GitHub (Apr 17, 2023): Duplicated of #3329
Author
Owner

@rusty-snake commented on GitHub (Apr 17, 2023):

  • The profile (and redirect profile if exists) hasn't already been fixed upstream.

#5744 / 1bbb5a5

<!-- gh-comment-id:1510849902 --> @rusty-snake commented on GitHub (Apr 17, 2023): > - [x] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). #5744 / 1bbb5a5
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#3091
No description provided.