CachyOS / CachyOS-Browser-Common

Mozilla Public License 2.0
8 stars 4 forks source link

Please stop changing the dbus namespaces every release #13

Open ilikenwf opened 1 hour ago

ilikenwf commented 1 hour ago

It seems like every update or two a new dbus namespace is added or one of the existing ones is changed. Not only is this insane, but it makes managing security with firejail a giant nightmare...here's a piece of my current config for cachy-browser. This update, for some reason, cachy-browser now also talks on org.mozilla.firefox* and not just it's own...

dbus-user filter
dbus-user.own org.mozilla.cachybrowser.*
dbus-user.own io.gitlab.*
dbus-user.own org.cachyos.*
dbus-user.talk org.cachyos.*
dbus-user.talk io.gitlab.*
dbus-user.talk org.freedesktop.portal.Desktop
dbus-user.talk org.gtk.gio
dbus-user.talk org.gtk.gio.*
dbus-user.own org.cachyos.cachy_browser.*
dbus-user.own org.cachyos.cachy_browser
dbus-user.talk org.cachyos.firefox.*
dbus-user.own org.cachyos.firefox.*
dbus-user.own org.cachyos.firefox
dbus-user.talk org.cachyos.firefox
dbus-user.own org.mozilla.cachybrowser
dbus-user.own org.mozilla.cachybrowser.*
dbus-user.talk org.mozilla.cachybrowser
dbus-user.talk org.mozilla.cachybrowser.*
dbus-user.talk org.mozilla.firefox
dbus-user.own org.mozilla.firefox
dbus-user.talk org.mozilla.firefox.*
dbus-user.own org.mozilla.firefox.*

# allow D-Bus notifications
dbus-user.talk org.freedesktop.Notifications
vnepogodin commented 1 hour ago

dbus doesn't get changed from our side

ilikenwf commented 1 hour ago

It may be wise, even so, to reconcile all the patches applied and the mozconfig to ensure everything is using consistent and proper dbus namespaces.

vnepogodin commented 1 hour ago

librewolf patches were changing dbus names

here https://github.com/CachyOS/CachyOS-Browser-Common/blob/master/patches/librewolf/dbus_name.patch