-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use dbus broker per default #299476
Comments
That would be services.dbus.implementation = "broker"; |
@SuperSandro2000 Yeah, I was talking about the change of the default value. |
https://fedoraproject.org/wiki/Changes/DbusBrokerAsTheDefaultDbusImplementation
https://archlinux.org/news/making-dbus-broker-our-default-d-bus-daemon/ And I've also been using it for a while. |
+1 for this. I've been using it for nearly 2 years with no issues. |
I think one issue is that the dbus package has |
That's not really a metric we can go after (unfortunately or fortunately depending on how you look at it). For example to many packages included in the stdenv have the same situation and don't have a "real" maintainer for a long time. |
Would it be possible for teams.freedesktop.members to take over maintainership of dbus-broker. Since dbus and dbus-broker are linked anyway it would be great if both are maintained by roughly the same people. However not saying somebody should be forced to maintain something. And of course from a strict viewpoint dbus-broker is not part of the freedesktop.org. |
Also something to keep in mind is missing Apparmour support of dbus-broker. Not sure if this is relevant to us though and it is been worked on it. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
As already wrote before, I don't think the maintenance situation is a blocker for this. We have many way more critical packages which are far less maintained and I also don't think that the package requires lots of maintenance and since other distros are also using it, we are not alone with the decision. apparmor support is not very widespread in NixOS and I am not even sure if dbus had it enabled before, so I don't think that is a blocker either. A blocker for me would be for example if there are major DEs which do not work with dbus-broker which I am not aware of any. |
@SuperSandro2000 If you think this is a sufficient consensus approach? I see you're contributing a lot to nixpkgs, so I'm assuming you know well what the right approach is. I see @Mic92 suggested a while back (2022) to "test it sufficiently" before switching to it as a default, it seems to me as well enough time has passed since then. I think my only possible concern right now is that switching from Other observation: Currently there is one report with some warning messages, there are other forums with similar warnings, I think they can be ignored but we should at least make sure to track/cleanup appropriately in the future. I have just spotted those message on one of my systems as well, and just double checked those are only shown when I run
|
Can someone reopen this, since the PR got reverted? I will create a new PR (draft) after the release of 24.05. This time the systemd team should be more involved and there should be more specific testing to avoid regressions. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
While it's cool that there is another implementation that works well enough to be considered the default, I'd like to question the decision to switch the default. I'm not tied to regular dbus but so far I have not seen a reason for switching other than "the cool kids are doing it too". The only upsides brought up so far were that it's faster/more efficient but I don't think I was ever even close to hitting a performance bottleneck on plain old Are there any benefits to dbus-broker other than that it's faster and newer? |
Dbus-broker provides better logging than dbus, which could help especially for cleaning nix code and troubleshooting. |
Is your feature request related to a problem? Please describe.
Use dbus broker as default dbus implementation. Dbus broker is considered as a faster and more efficient dbus implementation that is fully compatible to normal dbus. Fedora did switch to dbus broker per default and afaik Arch too.
Describe the solution you'd like
Using dbus broker as default implementation.
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: