View previous topic :: View next topic |
Author |
Message |
lagalopex Guru
Joined: 16 Oct 2004 Posts: 562
|
Posted: Tue Mar 06, 2018 7:41 pm Post subject: dbus replacement: dbus-broker |
|
|
dbus is old, slow, ... quite some attempts were made to create a replacement.
Anybody tried dbus-broker as drop-in replacement in a current desktop system?
Can anybody report back? |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3339 Location: Rasi, Finland
|
Posted: Tue Mar 06, 2018 7:52 pm Post subject: |
|
|
It doesn't look good for systems with musl-libc. :( The requirements specifically mention glibc only.
Somebody correct me if I'm wrong... please? _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
lagalopex Guru
Joined: 16 Oct 2004 Posts: 562
|
Posted: Tue Mar 06, 2018 8:05 pm Post subject: |
|
|
Just saw that it depends on systemd when launcher is enabled.
Currently running openrc. Do I need launcher? |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Tue Mar 06, 2018 9:09 pm Post subject: |
|
|
Dbus-broker isn't a standalone dbus replacement... It just bus1 (the systemD + kernel IPC) dbus interface _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
DonCallis n00b
Joined: 20 Mar 2021 Posts: 2 Location: Canada
|
Posted: Sat Mar 20, 2021 11:20 am Post subject: |
|
|
I agree. Dbus-broker is very old but we still don't have any alternatives. (correct me if I'm wrong) |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1528 Location: South America
|
Posted: Sat Mar 20, 2021 2:35 pm Post subject: |
|
|
lagalopex wrote: | Just saw that it depends on systemd when launcher is enabled.
Currently running openrc. Do I need launcher? |
Yes, last time I checked, the dbus-broker program needs some controller process, and the program provided by the package for that role, dbus-broker-launch, as you discovered, hard-depends on systemd.
And now I realize that this thread is from 2018... |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Wed Mar 24, 2021 1:36 pm Post subject: |
|
|
Luckily Basu was created for EXACTLY this reason.
If you don't want systemd, use musl or bsd _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1528 Location: South America
|
Posted: Wed Mar 24, 2021 6:53 pm Post subject: |
|
|
This basu I suppose.
Just in case, it should be noted that using the <systemd/sd-bus.h> API is not what makes dbus-broker hard-depend on systemd. If that was the only issue, the package could be easily patched to link to libbasu or libelogind (which also supports musl). What makes it hard-depend on systemd is this "deviation from the D-Bus reference implementation":
Quote: | - Direct Activation: Historically, all activated services were forked and exec'ed by the respective bus implementation. With the introduction of systemd, activated service could opt-in to be run executed by systemd as a systemd service instead. With dbus-broker, direct activation is no longer supported, rather all activation requests are forwarded to systemd. In case no systemd service has been configured for a given dbus service, a TransientUnit is generated and used instead.
| Which is done via calls to methods from the D-Bus interface of systemd.
("activated services": those named in e.g. /usr/share/dbus-1/system-services/*.service files or $XDG_DATA_HOME/dbus-1/services/*.service files) |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3339 Location: Rasi, Finland
|
Posted: Wed Mar 24, 2021 7:09 pm Post subject: |
|
|
And there he's again. Kenny Levinsen. I love this dude. He's like anti-Poettering. Creating and contributing to some awesome open source projects.
Well, ok. Poettering has made libatasmart. That project is pretty ok.
But Kenny Levinsen... Dang. Awesome dude.
I'll end my speech. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4126 Location: Bavaria
|
Posted: Wed Mar 24, 2021 9:18 pm Post subject: |
|
|
Zucca wrote: | But Kenny Levinsen... Dang. Awesome dude.
I'll end my speech. |
Strange ... I didnt find basu on his webpage: https://www.kl.wtf/
(but I am very interested in his projects; I am only too dumb (and too old) to understand all) |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Wed Mar 24, 2021 9:48 pm Post subject: |
|
|
pietinger wrote: | Zucca wrote: | But Kenny Levinsen... Dang. Awesome dude.
I'll end my speech. |
Strange ... I didnt find basu on his webpage: https://www.kl.wtf/
(but I am very interested in his projects; I am only too dumb (and too old) to understand all) |
He's done some commits to basu, though it's not his project, or at least isn't hosted on his site. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3339 Location: Rasi, Finland
|
Posted: Wed Mar 24, 2021 11:32 pm Post subject: |
|
|
Yup. Not his project, but involved in it (via some commits at least). _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Wed Mar 24, 2021 11:59 pm Post subject: |
|
|
Funny that basu was driven by the wayland side of things.
And rather than just tell people to use systemd (which doesn't work on some OS's and hardware) they pulled out the pieces to make it work. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
|