You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use protocol handlers under a snap build created with electron builder, the dbus call required for the launched instance to pass the schema parameters to the main electron instance does not work due to: dbus-send: /snap/bitwarden/x13/lib/x86_64-linux-gnu/libdbus-1.so.3: version LIBDBUS_PRIVATE_1.12.20 not found (required by dbus-send). All other distribution mechanisms (AppImage, Flatpak[using electron-builder .deb)) work fine for the same build. Confinement is strict, and the base is core22 (electron-builder.json).
The text was updated successfully, but these errors were encountered:
I did some digging on this. In core22, the dbus-send executable - needed for the protocol handler - is linked (correctly) against LIBDBUS_PRIVATE_1.12.20. However, building the app with electron builder copies an libdbus shared object into resulting app's snap layer. Libdbus then tries to load the app's libdbus, which has a mismatched LIBDBUS_PRIVATE (1.12.2).
This can be fixed by wrapping launching the app with an LD_PRELOAD to load the base images libdbus.
I'm honestly unsure if this is a misconfiguration in Bitwarden's electron-builder configuration, or a bug in electron builder.
Target: Ubuntu/Snap
Hi,
When trying to use protocol handlers under a snap build created with electron builder, the dbus call required for the launched instance to pass the schema parameters to the main electron instance does not work due to:
dbus-send: /snap/bitwarden/x13/lib/x86_64-linux-gnu/libdbus-1.so.3: version LIBDBUS_PRIVATE_1.12.20 not found (required by dbus-send)
. All other distribution mechanisms (AppImage, Flatpak[using electron-builder .deb)) work fine for the same build. Confinement is strict, and the base is core22 (electron-builder.json).The text was updated successfully, but these errors were encountered: