The officially official Devuan Forum!

You are not logged in.

#1 2022-03-13 23:23:07

Lorenzo
Member
Registered: 2020-03-03
Posts: 21  

Runit: dbus runscript broken

Hi all,

Just a warning to runit init users, that the dbus runscript that I provided on this forum is now broken on Debian (at least for me) and I suspect the change will hit Devuan soon: synthoms are that dbus fails to start and everything that depends on it is broken (so your DE, login manager and other dbus services too will malfunction)

in short, if you are using a dbus runscript that has an exec line like

exec chpst -umessagebus dbus-daemon --system --nofork --nopidfile

I suggest to change it to

exec dbus-daemon --system --nofork --nopidfile

Using chpst seem to break recent version of dbus as it can't access to its own socket.
Dbus is able to drop privileges by itself.

Lorenzo

Offline

#2 2022-03-14 16:13:24

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,133  

Re: Runit: dbus runscript broken

I am unable to reproduce the problem. I just upgraded my daedalus with runit. The dbus version went from 1.12.something+devuan3 to 1.14.0-1devuan1, and my desktop still comes up after a reboot. Looks like it's all working ok.

This line is still present in the runscript:

exec chpst -umessagebus dbus-daemon --system --nofork --nopidfile

Running xfce with lightdm here. What would you like me to check?

Offline

#3 2022-03-14 17:04:04

Lorenzo
Member
Registered: 2020-03-03
Posts: 21  

Re: Runit: dbus runscript broken

Hi,

I'm still affected in Debian, not sure exactly if it's a change in dbus or something else. Devuan is rebuilding dbus without systemd bits, so maybe that's why it's not affected? (just a wild guess)
In any case dbus is dropping privileges and run with the messagebus by itself, so the 'chpst -umessagebus' is useless, but as long as it doesn't cause harm..

Running xfce with lightdm here. What would you like me to check?

I'm with slim and LxQT. Not sure, as long as nobody complains, I'll just leave a warning here in case with a future upgrade things start to break.

Thanks
Lorenzo

Offline

#4 2022-03-14 18:03:19

xinomilo
Member
Registered: 2017-07-02
Posts: 267  

Re: Runit: dbus runscript broken

same with @fsmithred, unable to reproduce.
currently running lightdm & MATE on devuan ceres (sid), but mostly work with openbox.
dbus 1.14.0-1devuan1
runit 2.1.2-45
will also try with the suggested line on next reboot.

Offline

#5 2022-03-18 09:09:45

xinomilo
Member
Registered: 2017-07-02
Posts: 267  

Re: Runit: dbus runscript broken

no problems with openbox either, but changed runscript as proposed, no actual difference noticed. everything works as it did before.

Offline

Board footer