Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v4 1/6] default-providers: Add VIRTUAL-RUNTIME_dbus variable
@ 2025-04-01 14:04 Niko Mauno
  2025-04-01 14:04 ` [PATCH v4 2/6] dbus: Allow using dbus-lib with alternative D-Bus Niko Mauno
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Niko Mauno @ 2025-04-01 14:04 UTC (permalink / raw)
  To: openembedded-core; +Cc: richard.purdie, ross.burton, Niko Mauno

The purpose of the new variable is to facilitate oe-core users who wish
to use an alternative runtime D-Bus implementation instead of the
default Freedesktop.org's dbus, such as dbus-broker, a recipe for which
is currently available under
meta-openembedded/meta-oe/recipes-core/dbus/

While introducing this facilitation the intent is to preserve the
existing functionality, while allowing the user to optionally select an
alternative runtime D-Bus implementation by adding the following line
e.g. to local.conf file:

  VIRTUAL-RUNTIME_dbus = "dbus-broker"

As a background, for example the Fedora distribution uses dbus-broker
instead of Freedesktop.org's D-Bus implementation. The following
excerpts from
https://fedoraproject.org/wiki/Changes/DbusBrokerAsTheDefaultDbusImplementation
provide background for their technological decision

  This change provides a more scalable and more reliable implementation in place of the reference implementation.
  The reference implementation suffers from long-standing issues including potential dead-locks and susceptibility to denial of service attacks, which the replacement implementation does not.

and

  No visible changes in behavior are expected, except for different log messages.
  Any visibly different behavior to `dbus-daemon` should be reported as a regression.
  Ideally, this change should only improve the performance and security of the message bus.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
---
 meta/conf/distro/include/default-providers.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index d3eefb754b..cebd0400f4 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -31,6 +31,7 @@ VIRTUAL-RUNTIME_base-utils ?= "busybox"
 VIRTUAL-RUNTIME_base-utils-hwclock ?= "busybox-hwclock"
 VIRTUAL-RUNTIME_base-utils-syslog ?= "busybox-syslog"
 VIRTUAL-RUNTIME_keymaps ?= "keymaps"
+VIRTUAL-RUNTIME_dbus ?= "dbus"
 
 #
 # Default recipe providers
-- 
2.39.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-04-01 15:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-01 14:04 [PATCH v4 1/6] default-providers: Add VIRTUAL-RUNTIME_dbus variable Niko Mauno
2025-04-01 14:04 ` [PATCH v4 2/6] dbus: Allow using dbus-lib with alternative D-Bus Niko Mauno
2025-04-01 14:04 ` [PATCH v4 3/6] dbus-glib: Revise RDEPENDS:${PN}-tests assignment Niko Mauno
2025-04-01 14:04 ` [PATCH v4 4/6] systemd: Support using alternative runtime D-Bus Niko Mauno
2025-04-01 14:04 ` [PATCH v4 5/6] glib: " Niko Mauno
2025-04-01 14:04 ` [PATCH v4 6/6] recipes-connectivity: Drop dbus from RDEPENDS:${PN} Niko Mauno
2025-04-01 14:35   ` Guðni Már Gilbert
2025-04-01 15:50     ` [OE-core] " Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox