flathub / me.proton.Pass

https://flathub.org/apps/details/me.proton.Pass
5 stars 6 forks source link

App tries to access the system bus #15

Open A6GibKm opened 2 months ago

A6GibKm commented 2 months ago
ago 09 22:13:17 thinkpad me.proton.Pass.desktop[26033]: [2:0809/221317.527312:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
ago 09 22:13:18 thinkpad me.proton.Pass.desktop[26033]: [2:0809/221318.123244:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
ago 09 22:13:18 thinkpad me.proton.Pass.desktop[26033]: [2:0809/221318.123322:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

Clearly adding system bus access to the app would be wrong, but it would be worth investigating why this is needed in the first place. Apps shouldnt use the system bus at all.

NicBOMB commented 1 month ago
ago 09 22:13:17 thinkpad me.proton.Pass.desktop[26033]: [2:0809/221317.527312:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
ago 09 22:13:18 thinkpad me.proton.Pass.desktop[26033]: [2:0809/221318.123244:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
ago 09 22:13:18 thinkpad me.proton.Pass.desktop[26033]: [2:0809/221318.123322:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

Clearly adding system bus access to the app would be wrong, but it would be worth investigating why this is needed in the first place. Apps shouldnt use the system bus at all.

This is a benign error message caused by chromium and you are correct, we shouldn't give the system bus permission as it is unnecessary. The solution is to suppress or ignore the message. https://github.com/cypress-io/cypress/issues/19299#issuecomment-1090474752