[GH-ISSUE #1633] keepassxc: program does not start (private-etc machine-id) #1098

Closed
opened 2026-05-05 07:26:57 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @soredake on GitHub (Nov 6, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1633

with blacklist /run/user/*/bus:

❯ LC_ALL=C keepassxc-run
Reading profile /home/bausch/.config/firejail/keepassxc.profile
Reading profile /etc/firejail/keepassxc.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 19868, child pid 19869
Private /etc installed in 32.12 ms
Child process initialized in 95.39 ms
qt5ct: using qt5ct plugin
process 7: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not built with -rdynamic so unable to print a backtrace

Parent is shutting down, bye...

with noblacklist /run/user/*/bus (successfully launched):

❯ LC_ALL=C keepassxc-run
Reading profile /home/bausch/.config/firejail/keepassxc.profile
Reading profile /etc/firejail/keepassxc.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 20140, child pid 20141
Private /etc installed in 33.98 ms
Child process initialized in 91.06 ms
qt5ct: using qt5ct plugin
qt5ct: D-Bus system tray: no
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Originally created by @soredake on GitHub (Nov 6, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1633 with `blacklist /run/user/*/bus`: ``` ❯ LC_ALL=C keepassxc-run Reading profile /home/bausch/.config/firejail/keepassxc.profile Reading profile /etc/firejail/keepassxc.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-var-common.inc Parent pid 19868, child pid 19869 Private /etc installed in 32.12 ms Child process initialized in 95.39 ms qt5ct: using qt5ct plugin process 7: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory See the manual page for dbus-uuidgen to correct this issue. D-Bus not built with -rdynamic so unable to print a backtrace Parent is shutting down, bye... ``` with `noblacklist /run/user/*/bus` (successfully launched): ``` ❯ LC_ALL=C keepassxc-run Reading profile /home/bausch/.config/firejail/keepassxc.profile Reading profile /etc/firejail/keepassxc.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-var-common.inc Parent pid 20140, child pid 20141 Private /etc installed in 33.98 ms Child process initialized in 91.06 ms qt5ct: using qt5ct plugin qt5ct: D-Bus system tray: no libGL error: failed to open drm device: No such file or directory libGL error: failed to load driver: nouveau libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast ```
gitea-mirror 2026-05-05 07:26:57 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@smitsohu commented on GitHub (Nov 7, 2017):

If you add the machine-id option to the profile and further append 'machine-id' to private-etc (see the keepassx profile for comparison), does it work again?

<!-- gh-comment-id:342332611 --> @smitsohu commented on GitHub (Nov 7, 2017): If you add the `machine-id` option to the profile and further append 'machine-id' to `private-etc` (see the keepassx profile for comparison), does it work again?
Author
Owner

@soredake commented on GitHub (Nov 7, 2017):

Works, adding machine-id to private-etc is enough. I can create pull request if you fine with machine-id in private-etc.

<!-- gh-comment-id:342400612 --> @soredake commented on GitHub (Nov 7, 2017): Works, adding `machine-id` to `private-etc` is enough. I can create pull request if you fine with machine-id in private-etc.
Author
Owner

@smitsohu commented on GitHub (Nov 7, 2017):

Thank you! Just go ahead.

<!-- gh-comment-id:342463473 --> @smitsohu commented on GitHub (Nov 7, 2017): Thank you! Just go ahead.
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#1098
No description provided.