[GH-ISSUE #6827] keepassxc: cannot start program (dbus/machine-id) #3387

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

Originally created by @Rosika2 on GitHub (Jul 14, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6827

Info:

system: Linux Lite 6.2
firejail version: 0.9.74

Hi all, 👋

I used to employ the command firejail keepassxc and it has always worked well.
As of late, however, it failed to do so. The GUI wouldn´t open and firejail closed down immediately:

firejail keepassxc
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-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-runuser-common.inc
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
firejail version 0.9.74

Seccomp list in: !name_to_handle_at, check list: @default-keep, prelist: unknown,
Parent pid 20585, child pid 20589
3 programs installed in 343.11 ms
Warning fcopy: cannot create symbolic link /etc/alternatives/identify-im6
Warning fcopy: cannot create symbolic link /etc/alternatives/updatedb
[...]
Private /etc installed in 36.86 ms
Base filesystem installed in 142.29 ms
Seccomp list in: !name_to_handle_at, check list: @default-keep, prelist: unknown,
Child process initialized in 698.63 ms
dbus[23]: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to open "/etc/machine-id": No such file or directory)
  D-Bus not built with -rdynamic so unable to print a backtrace

Parent is shutting down, bye...

This part seems to be crucial, I think:

(Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to open "/etc/machine-id": No such file or directory)

So I tired employing this command, which worked as desired:

firejail --private-etc=machine-id keepassxc.

... though I still got these messages:

[...]
Private /etc installed in 30.56 ms
Base filesystem installed in 78.62 ms
Seccomp list in: !name_to_handle_at, check list: @default-keep, prelist: unknown,
Child process initialized in 230.59 ms
Qt: Session management error: Could not open network socket
YubiKey: Failed to initialize USB interface.
MESA: error: Failed to query drm device.
libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver: crocus
libGL error: failed to open /dev/dri/card0: No such file or directory
libGL error: failed to load driver: crocus

But the keepasscx GUI opened up and the programme could be used without any problems.
No idea what brought about the change in behaviour. 🤔

So, is it alright to use the command firejail --private-etc=machine-id keepassxc then

Thanks a lot in advance and many greetings from Rosika 🙂

Originally created by @Rosika2 on GitHub (Jul 14, 2025). Original GitHub issue: https://github.com/netblue30/firejail/issues/6827 Info: system: Linux Lite 6.2 firejail version: 0.9.74 Hi all, 👋 I used to employ the command `firejail keepassxc` and it has always worked well. As of late, however, it failed to do so. The GUI wouldn´t open and firejail closed down immediately: ``` firejail keepassxc 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-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-runuser-common.inc Reading profile /etc/firejail/whitelist-usr-share-common.inc Reading profile /etc/firejail/whitelist-var-common.inc firejail version 0.9.74 Seccomp list in: !name_to_handle_at, check list: @default-keep, prelist: unknown, Parent pid 20585, child pid 20589 3 programs installed in 343.11 ms Warning fcopy: cannot create symbolic link /etc/alternatives/identify-im6 Warning fcopy: cannot create symbolic link /etc/alternatives/updatedb [...] Private /etc installed in 36.86 ms Base filesystem installed in 142.29 ms Seccomp list in: !name_to_handle_at, check list: @default-keep, prelist: unknown, Child process initialized in 698.63 ms dbus[23]: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to open "/etc/machine-id": No such file or directory) D-Bus not built with -rdynamic so unable to print a backtrace Parent is shutting down, bye... ``` This part seems to be crucial, I think: ``` (Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to open "/etc/machine-id": No such file or directory) ``` So I tired employing this command, which worked as desired: `firejail --private-etc=machine-id keepassxc`. ... though I still got these messages: ``` [...] Private /etc installed in 30.56 ms Base filesystem installed in 78.62 ms Seccomp list in: !name_to_handle_at, check list: @default-keep, prelist: unknown, Child process initialized in 230.59 ms Qt: Session management error: Could not open network socket YubiKey: Failed to initialize USB interface. MESA: error: Failed to query drm device. libGL error: glx: failed to create dri3 screen libGL error: failed to load driver: crocus libGL error: failed to open /dev/dri/card0: No such file or directory libGL error: failed to load driver: crocus ``` But the `keepasscx` GUI opened up and the programme could be used without any problems. No idea what brought about the change in behaviour. 🤔 So, is it alright to use the command `firejail --private-etc=machine-id keepassxc` then ❓ Thanks a lot in advance and many greetings from Rosika 🙂
gitea-mirror 2026-05-05 09:57:32 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@kmk3 commented on GitHub (Jul 14, 2025):

This part seems to be crucial, I think:

(Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to open "/etc/machine-id": No such file or directory)

So I tired employing this command, which worked as desired:

firejail --private-etc=machine-id keepassxc.

Thanks for reporting; it should be fixed in:

... though I still got these messages:

[...]
Private /etc installed in 30.56 ms
Base filesystem installed in 78.62 ms
Seccomp list in: !name_to_handle_at, check list: @default-keep, prelist: unknown,
Child process initialized in 230.59 ms
Qt: Session management error: Could not open network socket
YubiKey: Failed to initialize USB interface.
MESA: error: Failed to query drm device.
libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver: crocus
libGL error: failed to open /dev/dri/card0: No such file or directory
libGL error: failed to load driver: crocus

But the keepasscx GUI opened up and the programme could be used without any
problems. No idea what brought about the change in behaviour. 🤔

This is likely due to no3d, so feel free to ignore mesa/libGL error messages.

So, is it alright to use the command firejail --private-etc=machine-id keepassxc then

Yes.

<!-- gh-comment-id:3070696007 --> @kmk3 commented on GitHub (Jul 14, 2025): > This part seems to be crucial, I think: > > ``` > (Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to open "/etc/machine-id": No such file or directory) > ``` > > So I tired employing this command, which worked as desired: > > `firejail --private-etc=machine-id keepassxc`. Thanks for reporting; it should be fixed in: * #6828 > ... though I still got these messages: > > ``` > [...] > Private /etc installed in 30.56 ms > Base filesystem installed in 78.62 ms > Seccomp list in: !name_to_handle_at, check list: @default-keep, prelist: unknown, > Child process initialized in 230.59 ms > Qt: Session management error: Could not open network socket > YubiKey: Failed to initialize USB interface. > MESA: error: Failed to query drm device. > libGL error: glx: failed to create dri3 screen > libGL error: failed to load driver: crocus > libGL error: failed to open /dev/dri/card0: No such file or directory > libGL error: failed to load driver: crocus > ``` > > But the `keepasscx` GUI opened up and the programme could be used without any > problems. No idea what brought about the change in behaviour. 🤔 This is likely due to `no3d`, so feel free to ignore mesa/libGL error messages. > So, is it alright to use the command `firejail --private-etc=machine-id keepassxc` then ❓ Yes.
Author
Owner

@Rosika2 commented on GitHub (Jul 16, 2025):

@kmk3 :

Hi Kelvin, 👋

thanks for your reply.

it should be fixed in:
https://github.com/netblue30/firejail/pull/6828

That´s great. Thanks a lot.

This is likely due to no3d, so feel free to ignore mesa/libGL error messages.

I see. Thanks for the explanation.

For the time being I´ll use the command firejail --private-etc=machine-id keepassxc.
Your confirmation is highly appreciated.

Thanks again and many greetings from Rosika 🙂

<!-- gh-comment-id:3078282720 --> @Rosika2 commented on GitHub (Jul 16, 2025): @kmk3 : Hi Kelvin, 👋 thanks for your reply. > it should be fixed in: > https://github.com/netblue30/firejail/pull/6828 That´s great. Thanks a lot. > This is likely due to no3d, so feel free to ignore mesa/libGL error messages. I see. Thanks for the explanation. For the time being I´ll use the command `firejail --private-etc=machine-id keepassxc`. Your confirmation is highly appreciated. Thanks again and many greetings from Rosika 🙂
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#3387
No description provided.