You are not logged in.

#1 2024-01-23 07:46:31

aquilarubra
Member
From: Trieste, Italy
Registered: 2018-11-24
Posts: 87

[SOLVED] latest upgrade breaks system

With the latest upgrade, my system is broken. It cannot start services and does not even reach the console.

It complains about:
Failed to start D-Bus System Message Bus
Dependency failed for Network Manager... Network Manager Wait Online... Phonesim Control Daemon
Failed to start Bluetooth Service... User Login Management... Avahi...

I cleaned pacman cache and tried forcing re-download and reinstalling all packages with a rescue CD, but I got the same result.

I guess Arch is broken for new installs as well.

Last edited by aquilarubra (2024-01-23 16:27:23)

Offline

#2 2024-01-23 08:17:50

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: [SOLVED] latest upgrade breaks system

AWhich dbus implementation did you pick during the upgrade?

Please share the journal contents:

https://wiki.archlinux.org/title/System … al_to_view

https://wiki.archlinux.org/title/List_o … ted_client

aquilarubra wrote:

I guess Arch is broken for new installs as well.

No, it isn't. I've just installed Arch on a USB stick and it works fine with the new dbus-broker package.

Offline

#3 2024-01-23 08:38:27

Tutorius
Member
Registered: 2020-10-05
Posts: 5

Re: [SOLVED] latest upgrade breaks system

I have had the same problem. After an update yesterday, i was not able to start my system.
I started the system using Runmode 3 (Konsole), and it booted, but the network was not available.

There were a bunch of messages that the Dbus-Service was not started, not abailabe and so on.

Hopefully i had an other Arch-System on my notebook.

I found that a file named "dbus.service" was missing in /usr/lib/systemd/system

Its a textfile, so i created a new one, writing the same content as on my notebook...

This solved the problem.

I have no idea what happended so that this file was deleted and not recreated during update.

The update ended with no error-messages.

Question to thread starter:

My system had run a Mate-Desktop, but i used the display-manager for plasma (from a try of Plasma some month ago).
I am still not able to work with this plasma-displaymanager, it still has Dbus-Messages when starting. I have changed to gdm, and this works.
What display-manager are you using?

Content of my dbus.service (if your is also missing)


[Unit]
Description=D-Bus System Message Bus
Documentation=man:dbus-daemon
Requires=dbus.socket

[Service]
Type=notify
NotifyAccess=main
ExecStart=/usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
ExecReload=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
OOMScoreAdjust=-900

Last edited by Tutorius (2024-01-23 08:46:44)

Offline

#4 2024-01-23 09:01:36

seth
Member
Registered: 2012-09-03
Posts: 52,299

Re: [SOLVED] latest upgrade breaks system

I found that a file named "dbus.service" was missing in /usr/lib/systemd/system

pacman -Qikk dbus

Offline

#5 2024-01-23 09:27:14

Tutorius
Member
Registered: 2020-10-05
Posts: 5

Re: [SOLVED] latest upgrade breaks system

Name                     : dbus
Version                  : 1.14.10-2
Beschreibung             : Freedesktop.org message bus system
Architektur              : x86_64
URL                      : https://wiki.freedesktop.org/www/Software/dbus/
Lizenzen                 : AFL-2.1 OR GPL-2.0-or-later
Gruppen                  : Nichts
Stellt bereit            : libdbus  libdbus-1.so=3-64
Hängt ab von             : audit  libcap-ng  expat  systemd-libs  libaudit.so=1-64  libcap-ng.so=0-64  libexpat.so=1-64  libsystemd.so=0-64
Optionale Abhängigkeiten : Nichts
Benötigt von             : a2jmidid  aida-x-clap  aida-x-lv2  aida-x-vst  aida-x-vst3  ardour  at-spi2-core  avahi  bluez  brltty  cardinal-clap  cardinal-lv2
                           cardinal-standalone  cardinal-vst  cardinal-vst3  chromium  colord  cups  dbus-glib  dbus-python  dleyna  filezilla  firefox
                           flatpak  fluidsynth  gambas3-gb-dbus  jack2  jack2-dbus  lib32-dbus  libcupsfilters  libdecor  libgnome-keyring  libnvme  libpcap
                           libpulse  libreoffice-fresh  libteam  malcontent  pipewire  pipewire-media-session  python2-dbus  qt6-base  qt6-webengine  rtkit
                           steam  subversion  systemd  telepathy-glib  telepathy-mission-control  thunderbird  vlc  wpa_supplicant  xdg-dbus-proxy  xorg-server
                           zam-plugins-clap  zam-plugins-lv2  zam-plugins-standalone  zam-plugins-vst  zam-plugins-vst3  zbar
Optional für             : alsa-plugins
In Konflikt mit          : libdbus
Ersetzt                  : libdbus
Installationsgröße       : 910,57 KiB
Packer                   : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Erstellt am              : Fr 05 Jan 2024 16:13:33 CET
Installiert am           : Di 23 Jan 2024 08:34:08 CET
Installationsgrund       : Installiert als Abhängigkeit eines anderen Pakets
Installations-Skript     : Nein
Verifiziert durch        : Signatur

Offline

#6 2024-01-23 09:27:18

aquilarubra
Member
From: Trieste, Italy
Registered: 2018-11-24
Posts: 87

Re: [SOLVED] latest upgrade breaks system

I downgraded dbus to version 1.14.8-1 and it works again. Definitely it is a dbus issue.

Offline

#7 2024-01-23 09:36:35

aquilarubra
Member
From: Trieste, Italy
Registered: 2018-11-24
Posts: 87

Re: [SOLVED] latest upgrade breaks system

With the downgrader dbus, I find a strange warning concerning dbus-daemon-launch-helper:

pacman -Qikk dbus

Name            : dbus
Version         : 1.14.8-1
Description     : Freedesktop.org message bus system
Architecture    : x86_64
URL             : https://wiki.freedesktop.org/www/Software/dbus/
Licenses        : GPL  custom
Groups          : None
Provides        : libdbus  libdbus-1.so=3-64
Depends On      : audit  expat  systemd-libs  libaudit.so=1-64
                  libsystemd.so=0-64
Optional Deps   : None
Required By     : a2jmidid  ardour  at-spi2-core  avahi  bluez  bluez-utils
                  brltty  chromium  colord  compiz-core-git  connman  cups
                  dbus-glib  dbus-python  filezilla  firefox  flatpak
                  fluidsynth  jack2  jack2-dbus  lib32-dbus  libcupsfilters
                  libdecor  libnvme  libpcap  libpulse  libreoffice-fresh
                  libteam  ofono  perl-net-dbus  pipewire  pipewire-audio
                  pipewire-pulse  qt4  qt6-base  qt6-webengine  rtkit  steam
                  subversion  systemd  telepathy-glib  thunderbird  vlc
                  wpa_supplicant  xdg-dbus-proxy  xorg-server  zam-plugins-clap
                  zam-plugins-lv2  zam-plugins-standalone  zam-plugins-vst
                  zam-plugins-vst3  zbar  zoom
Optional For    : alsa-plugins
Conflicts With  : libdbus
Replaces        : libdbus
Installed Size  : 911.35 KiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Wed 07 Jun 2023 12:33:33 AM CEST
Install Date    : Tue 23 Jan 2024 10:32:53 AM CET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

warning: dbus: /usr/lib/dbus-1.0/dbus-daemon-launch-helper (failed to calculate MD5 checksum)
warning: dbus: /usr/lib/dbus-1.0/dbus-daemon-launch-helper (failed to calculate SHA256 checksum)
dbus: 93 total files, 1 altered file

Last edited by aquilarubra (2024-01-23 09:56:15)

Offline

#8 2024-01-23 09:38:38

seth
Member
Registered: 2012-09-03
Posts: 52,299

Re: [SOLVED] latest upgrade breaks system

Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.
And nb. "-Qikk" though indeed https://archlinux.org/packages/core/x86_64/dbus/ currently has only usr/lib/systemd/system/multi-user.target.wants/dbus.service

Edit: permission issue, sudo it.

Last edited by seth (2024-01-23 09:39:40)

Offline

#9 2024-01-23 09:57:55

aquilarubra
Member
From: Trieste, Italy
Registered: 2018-11-24
Posts: 87

Re: [SOLVED] latest upgrade breaks system

I upgraded again to simulate the issue.

Here is my journal:

http://0x0.st/HGb8.txt

I don't know why it gives me just November 17...

Last edited by aquilarubra (2024-01-23 10:02:48)

Offline

#10 2024-01-23 10:13:11

seth
Member
Registered: 2012-09-03
Posts: 52,299

Re: [SOLVED] latest upgrade breaks system

Nov 17 11:45:48 master udisksd[734]: udisks daemon version 2.9.4 exiting

https://gitlab.archlinux.org/archlinux/ … mmits/main

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#11 2024-01-23 12:46:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,645

Re: [SOLVED] latest upgrade breaks system

pacman -Q dbus-units systemd

Offline

#12 2024-01-23 14:10:35

aquilarubra
Member
From: Trieste, Italy
Registered: 2018-11-24
Posts: 87

Re: [SOLVED] latest upgrade breaks system

Here it is:
http://0x0.st/HGTi.txt

pacman -Q dbus-units systemd

gives:
dbus-broker-units 35-2
systemd 255.2-3

Last edited by aquilarubra (2024-01-23 14:11:10)

Offline

#13 2024-01-23 14:15:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,645

Re: [SOLVED] latest upgrade breaks system

Then how in the world were you able to downgrade dbus without getting file conflicts? Did you user --overwrite or something?

Offline

#14 2024-01-23 14:58:41

seth
Member
Registered: 2012-09-03
Posts: 52,299

Re: [SOLVED] latest upgrade breaks system

Jan 23 14:51:46 phantom kernel: Linux version 5.17.9-arch1-1 (linux@archlinux) (gcc (GCC) 12.1.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT Wed, 18 May 2022 17:30:11 +0000

Why is the kernel 2 years old?

Also NM, systemd-networkd, iwd and wpa_supplciant are running
Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
Jan 23 14:51:46 phantom kernel: Command line: initrd=\arch\boot\intel-ucode.img initrd=\arch\boot\amd-ucode.img initrd=\arch\boot\x86_64\initramfs-linux.img archisobasedir=arch archisolabel=PHANTOM-MAC

And the entire thing looks like it's some live distro - there's no sign of dbus-broker anywhere.

Offline

#15 2024-01-23 15:09:22

aquilarubra
Member
From: Trieste, Italy
Registered: 2018-11-24
Posts: 87

Re: [SOLVED] latest upgrade breaks system

Scimmia wrote:

Then how in the world were you able to downgrade dbus without getting file conflicts? Did you user --overwrite or something?

Yes, I had to use --overwrite.

Offline

#16 2024-01-23 15:10:23

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,645

Re: [SOLVED] latest upgrade breaks system

That was an absolutely TERRIBLE idea. Never EVER use that when the file is owned by another package.

Offline

#17 2024-01-23 15:11:22

aquilarubra
Member
From: Trieste, Italy
Registered: 2018-11-24
Posts: 87

Re: [SOLVED] latest upgrade breaks system

Indeed, I am booting from a rescue livecd and mounting the broken system, which does not boot and cannot reach the console. I guess it is not useful to run commands in the live distro.

Anyway, I just downgrade dbus again and it works.

seth wrote:
Jan 23 14:51:46 phantom kernel: Linux version 5.17.9-arch1-1 (linux@archlinux) (gcc (GCC) 12.1.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT Wed, 18 May 2022 17:30:11 +0000

Why is the kernel 2 years old?

Also NM, systemd-networkd, iwd and wpa_supplciant are running
Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
Jan 23 14:51:46 phantom kernel: Command line: initrd=\arch\boot\intel-ucode.img initrd=\arch\boot\amd-ucode.img initrd=\arch\boot\x86_64\initramfs-linux.img archisobasedir=arch archisolabel=PHANTOM-MAC

And the entire thing looks like it's some live distro - there's no sign of dbus-broker anywhere.

Offline

#18 2024-01-23 15:13:09

aquilarubra
Member
From: Trieste, Italy
Registered: 2018-11-24
Posts: 87

Re: [SOLVED] latest upgrade breaks system

Result from the system with downgraded dbus:

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
acpid.service                            | multi-user.target.wants
autorandr.service                        | sleep.target.wants
avahi-daemon.service                     | multi-user.target.wants
avahi-daemon.socket                      | sockets.target.wants
bluetooth.service                        | bluetooth.target.wants
clamav-daemon.service                    | multi-user.target.wants
clamav-daemon.socket                     | sockets.target.wants
clamav-freshclam.service                 | multi-user.target.wants
cups.path                                | multi-user.target.wants
cups.service                             | multi-user.target.wants
cups.service                             | printer.target.wants
cups.socket                              | sockets.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.Avahi.service       | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
dnscrypt-proxy.service                   | multi-user.target.wants
espeakup.service                         | sound.target.wants
fcgiwrap.service                         | multi-user.target.wants
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
gnome-keyring-daemon.socket              | sockets.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
nginx.service                            | multi-user.target.wants
ntpd.service                             | multi-user.target.wants
ofono.service                            | multi-user.target.wants
p11-kit-server.socket                    | sockets.target.wants
pamac-cleancache.timer                   | multi-user.target.wants
pcscd.socket                             | sockets.target.wants
pgadmin4-pip.service                     | default.target.wants
phonesim.service                         | multi-user.target.wants
pipewire-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
reflector.service                        | multi-user.target.wants
remote-fs.target                         | multi-user.target.wants
snapd.service                            | multi-user.target.wants
snapd.socket                             | sockets.target.wants
softethervpn-client.service              | multi-user.target.wants
sshd.service                             | multi-user.target.wants
systemd-timesyncd.service                | sysinit.target.wants
udisks2.service                          | graphical.target.wants
v4l2loopback.service                     | default.target.wants
var-lib-snapd-snap-bare-5.mount          | multi-user.target.wants
var-lib-snapd-snap-bare-5.mount          | snapd.mounts.target.wants
var-lib-snapd-snap-core18-2796.mount     | multi-user.target.wants
var-lib-snapd-snap-core18-2796.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-core18-2812.mount     | multi-user.target.wants
var-lib-snapd-snap-core18-2812.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-gnome\x2d3\x2d28\x2d1804-198.mount | multi-user.target.wants
var-lib-snapd-snap-gnome\x2d3\x2d28\x2d1804-198.mount | snapd.mounts.target.wants
var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount | multi-user.target.wants
var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount | snapd.mounts.target.wants
var-lib-snapd-snap-resourcehacker-95.mount | multi-user.target.wants
var-lib-snapd-snap-resourcehacker-95.mount | snapd.mounts.target.wants
var-lib-snapd-snap-snapd-20290.mount     | multi-user.target.wants
var-lib-snapd-snap-snapd-20290.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-snapd-20671.mount     | multi-user.target.wants
var-lib-snapd-snap-snapd-20671.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-wine\x2dplatform\x2d6\x2dstable-19.mount | multi-user.target.wants
var-lib-snapd-snap-wine\x2dplatform\x2d6\x2dstable-19.mount | snapd.mounts.target.wants
var-lib-snapd-snap-wine\x2dplatform\x2druntime-352.mount | multi-user.target.wants
var-lib-snapd-snap-wine\x2dplatform\x2druntime-352.mount | snapd.mounts.target.wants
var-lib-snapd-snap-wine\x2dplatform\x2druntime-353.mount | multi-user.target.wants
var-lib-snapd-snap-wine\x2dplatform\x2druntime-353.mount | snapd.mounts.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs-update.service             | default.target.wants

Last edited by aquilarubra (2024-01-23 15:19:54)

Offline

#19 2024-01-23 15:16:18

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,645

Re: [SOLVED] latest upgrade breaks system

Stop downgrading!!!

If you need to go back to dbus-daemon, you install dbus-daemon-units, you don't downgrade dbus.

We need a log from when the system was having a problem. See journalctl's -b option.

Offline

#20 2024-01-23 15:16:50

seth
Member
Registered: 2012-09-03
Posts: 52,299

Re: [SOLVED] latest upgrade breaks system

Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.

If there's a pending problem, post the journal from the actual system.
In doubt see https://wiki.archlinux.org/title/System … al_to_view

Offline

#21 2024-01-23 15:19:15

aquilarubra
Member
From: Trieste, Italy
Registered: 2018-11-24
Posts: 87

Re: [SOLVED] latest upgrade breaks system

This command should get what happened in the previous boot, when I reupgraded dbus and it didn't boot correctly. I can see the failed d-bus logs.

sudo journalctl --boot=-1 | curl -F 'file=@-' 0x0.st

http://0x0.st/HGT9.txt

Last edited by aquilarubra (2024-01-23 15:21:37)

Offline

#22 2024-01-23 15:22:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,645

Re: [SOLVED] latest upgrade breaks system

Right, that failure is because you have no units because you overwrote them with ones from the dbus package, which was then removed when you updated dbus. Reinstall dbus-broker-units, and hopefully this reinforces that you should NOT be using --overwrite.

Offline

#23 2024-01-23 15:52:26

aquilarubra
Member
From: Trieste, Italy
Registered: 2018-11-24
Posts: 87

Re: [SOLVED] latest upgrade breaks system

I reupdated, removed dbus-broker-units with -Rddd, reinstalled dbus-broker-units. No difference. I am in the livecd again to rescue the system.

If just changing version of dbus solves the issue, it is dbus related.

Offline

#24 2024-01-23 15:58:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,645

Re: [SOLVED] latest upgrade breaks system

Again, if you need to go back to dbus daemon, you install dbus-daemon-units, you DO NOT downgrade dbus.

Last edited by Scimmia (2024-01-23 15:58:27)

Offline

#25 2024-01-23 15:58:19

aquilarubra
Member
From: Trieste, Italy
Registered: 2018-11-24
Posts: 87

Re: [SOLVED] latest upgrade breaks system

Now I am comparing the dbus.service file in the previous and actual version of dbus.

Previous working version runs dbus as a daemon:

[Unit]
Description=D-Bus System Message Bus
Documentation=man:dbus-daemon(1)
Requires=dbus.socket

[Service]
Type=notify
NotifyAccess=main
ExecStart=/usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
ExecReload=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
OOMScoreAdjust=-900

The latest dbus version wants a socket and fails:

[Unit]
Description=D-Bus System Message Bus
Documentation=man:dbus-broker-launch(1)
DefaultDependencies=false
After=dbus.socket
Before=basic.target shutdown.target
Requires=dbus.socket
Conflicts=shutdown.target

[Service]
Type=notify
Sockets=dbus.socket
OOMScoreAdjust=-900
LimitNOFILE=16384
ProtectSystem=full
PrivateTmp=true
PrivateDevices=true
ExecStart=/usr/bin/dbus-broker-launch --scope system --audit
ExecReload=/usr/bin/busctl call org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus ReloadConfig

Maybe the update would work in daemon mode.

Offline

Board footer

Powered by FluxBB