The officially official Devuan Forum!

You are not logged in.

#1 2021-11-28 18:36:54

vazhnov
Member
From: Wrocław, Poland
Registered: 2020-05-31
Posts: 26  

[SOLVED] Devuan 5 Daedalus: dbus init script absent

Intro

I've installed a fresh minimal OS from the image "devuan_daedalus_5.0.preview-20211122_amd64_server.iso" (from the mirror https://mirror.leaseweb.com/devuan/devu … aller-iso/). I chose OpenRC init system.

Host system: Proxmox (based on Debian 10 oldstable).
Virtualisation: QEMU/KVM.

Error

On first boot, I found an error:

ERROR: elogind needs service(s) dbus
Troubleshooting

As I found, there is no init-script in the package dbus 1.12.20-3+devuan2:

user@devuan5-01 ~ % dpkg -L dbus|sort|grep init
user@devuan5-01 ~ % apt-cache policy dbus
dbus:
  Installed: 1.12.20-3+devuan2
  Candidate: 1.12.20-3+devuan2
  Version table:
 *** 1.12.20-3+devuan2 500
        500 http://deb.devuan.org/merged daedalus/main amd64 Packages
        100 /var/lib/dpkg/status

user@devuan5-01 ~ % dpkg -l|grep -i dbus
ii  at-spi2-core                        2.42.0-2                           amd64        Assistive Technology Service Provider Interface (dbus core)
ii  dbus                                1.12.20-3+devuan2                  amd64        simple interprocess messaging system (system message bus)
ii  dbus-bin                            1.12.20-3+devuan2                  amd64        simple interprocess messaging system (command line utilities)
ii  dbus-daemon                         1.12.20-3+devuan2                  amd64        simple interprocess messaging system (reference message bus)
ii  dbus-session-bus-common             1.12.20-3+devuan2                  all          simple interprocess messaging system (session bus configuration)
ii  dbus-system-bus-common              1.12.20-3+devuan2                  all          simple interprocess messaging system (system bus configuration)
ii  dbus-x11                            1.12.20-3+devuan2                  amd64        simple interprocess messaging system (X11 deps)
ii  libdbus-1-3:amd64                   1.12.20-3+devuan2                  amd64        simple interprocess messaging system (library)

But, in the same minimal system with Devuan 4 Chimaera:

user@devuan4-02 ~ % dpkg -L dbus|sort|grep init
/etc/init.d
/etc/init.d/dbus
user@devuan4-02 ~ % apt-cache policy dbus
dbus:
  Installed: 1.12.20-2+devuan2
  Candidate: 1.12.20-2+devuan2
  Version table:
 *** 1.12.20-2+devuan2 500
        500 http://deb.devuan.org/merged chimaera/main amd64 Packages
        100 /var/lib/dpkg/status

user@devuan4-02 ~ % dpkg -l|grep -i dbus
ii  at-spi2-core                        2.38.0-4                           amd64        Assistive Technology Service Provider Interface (dbus core)
ii  dbus                                1.12.20-2+devuan2                  amd64        simple interprocess messaging system (daemon and utilities)
ii  dbus-x11                            1.12.20-2+devuan2                  amd64        simple interprocess messaging system (X11 deps)
ii  libdbus-1-3:amd64                   1.12.20-2+devuan2                  amd64        simple interprocess messaging system (library)
Fix

So, I copied the init script /etc/init.d/dbus and ran:

sudo rc-update add dbus default

Now dbus starts:

user@devuan5-01 ~ % sudo service dbus status         
dbus is running.

user@devuan5-01 ~ % ls -lAF /var/run/dbus
total 4
-rw-r--r-- 1 root root 5 Nov 28 19:30 pid
srwxrwxrwx 1 root root 0 Nov 28 19:30 system_bus_socket=

Last edited by vazhnov (2021-12-01 18:17:00)

Offline

#2 2021-11-28 21:47:27

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

Re: [SOLVED] Devuan 5 Daedalus: dbus init script absent

Fixed in ceres and will move into daedalus soon.
https://bugs.devuan.org/cgi/bugreport.cgi?bug=635

Offline

Board footer