Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dbus replacement: dbus-broker
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 562

PostPosted: Tue Mar 06, 2018 7:41 pm    Post subject: dbus replacement: dbus-broker Reply with quote

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? :lol:
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3339
Location: Rasi, Finland

PostPosted: Tue Mar 06, 2018 7:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 562

PostPosted: Tue Mar 06, 2018 8:05 pm    Post subject: Reply with quote

Just saw that it depends on systemd when launcher is enabled.
Currently running openrc. Do I need launcher?
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Tue Mar 06, 2018 9:09 pm    Post subject: Reply with quote

Dbus-broker isn't a standalone dbus replacement... It just bus1 (the systemD + kernel IPC) dbus interface
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
DonCallis
n00b
n00b


Joined: 20 Mar 2021
Posts: 2
Location: Canada

PostPosted: Sat Mar 20, 2021 11:20 am    Post subject: Reply with quote

I agree. Dbus-broker is very old but we still don't have any alternatives. (correct me if I'm wrong)
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1528
Location: South America

PostPosted: Sat Mar 20, 2021 2:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Wed Mar 24, 2021 1:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1528
Location: South America

PostPosted: Wed Mar 24, 2021 6:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3339
Location: Rasi, Finland

PostPosted: Wed Mar 24, 2021 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4133
Location: Bavaria

PostPosted: Wed Mar 24, 2021 9:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6097
Location: Dallas area

PostPosted: Wed Mar 24, 2021 9:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3339
Location: Rasi, Finland

PostPosted: Wed Mar 24, 2021 11:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6097
Location: Dallas area

PostPosted: Wed Mar 24, 2021 11:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum