[DBUS] [Testing] Dbus update on testing, breaks dbus, and login (dependency for libapparmor.so.1)

After upgrading to testing, I ran into the following problem (from journalctl)
Login was broken, (fixed with appending 3 to boot parameter) and downgrading d-bus package from dbus-1.12.16-1.1 to dbus-1.12.14-1
Just wanted to let you know of this issue, as seen in the pasted log, it is because of an libapparmor.so.1 dependency which apparently was not installed..

Jun 27 11:29:32 jonas-linux-manjaro kernel: audit: type=1130 audit(1561627772.893:10): pid=1 uid=0 auid=4294967295 ses=4294967295 msg=unit=systemd-update-utmp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success
Jun 27 11:29:32 jonas-linux-manjaro audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dbus comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 27 11:29:32 jonas-linux-manjaro systemd[1]: Starting Network Manager...
Jun 27 11:29:32 jonas-linux-manjaro dbus-daemon[543]: /usr/bin/dbus-daemon: error while loading shared libraries: libapparmor.so.1: cannot open shared object file: No such file or directory
...
Jun 27 11:29:32 jonas-linux-manjaro systemd[1]: dbus.service: Main process exited, code=exited, status=127/n/a
Jun 27 11:29:32 jonas-linux-manjaro systemd[1]: dbus.service: Failed with result 'exit-code'.
...
Jun 27 11:29:33 jonas-linux-manjaro systemd[1]: Failed to start Bluetooth service.
Jun 27 11:29:33 jonas-linux-manjaro systemd[1]: Reached target Bluetooth.
Jun 27 11:29:33 jonas-linux-manjaro systemd-logind[547]: Failed to connect to system bus: Connection refused
Jun 27 11:29:33 jonas-linux-manjaro systemd-logind[547]: Failed to fully start up daemon: Connection refused
...
Jun 27 11:29:33 jonas-linux-manjaro systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
Jun 27 11:29:33 jonas-linux-manjaro systemd[1]: Failed to start Network Manager.
...
Jun 27 11:29:33 jonas-linux-manjaro gdm[577]: Couldnt connect to system bus: Could not connect: Connection refused
Jun 27 11:29:33 jonas-linux-manjaro systemd[1]: systemd-logind.service: Main process exited, code=exited, status=1/FAILURE
Jun 27 11:29:33 jonas-linux-manjaro systemd[1]: systemd-logind.service: Failed with result 'exit-code'.
Jun 27 11:29:33 jonas-linux-manjaro systemd[1]: Failed to start Login Service.

Will rebuild that package again.

1 Like

Please test if dbus 1.12.16-1.2 fixes the dependency issue with apparmor. Please also test dbus-x11.

This is how you may test if apparmor is still a dependency:

sudo readelf -d /usr/bin/dbus-daemon
[sudo] Passwort für phil: 

Dynamic section at offset 0x37240 contains 30 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libdbus-1.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libsystemd.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libexpat.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libaudit.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libcap-ng.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libapparmor.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000c (INIT)               0x8000
 0x000000000000000d (FINI)               0x288a8
 0x0000000000000019 (INIT_ARRAY)         0x37c30
 0x000000000000001b (INIT_ARRAYSZ)       8 (bytes)
 0x000000000000001a (FINI_ARRAY)         0x37c38
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x308
 0x0000000000000005 (STRTAB)             0x2650
 0x0000000000000006 (SYMTAB)             0x340
 0x000000000000000a (STRSZ)              8415 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000007 (RELA)               0x4b30
 0x0000000000000008 (RELASZ)             12480 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x0000000000000018 (BIND_NOW)           
 0x000000006ffffffb (FLAGS_1)            Flags: NOW PIE
 0x000000006ffffffe (VERNEED)            0x4a20
 0x000000006fffffff (VERNEEDNUM)         5
 0x000000006ffffff0 (VERSYM)             0x4730
 0x000000006ffffff9 (RELACOUNT)          152
 0x0000000000000000 (NULL)               0x0

I also pushed now needed dbus-x11 packages to testing and unstable.

1 Like

Danke, ich finde diese Beiträge immer erst wenn ich schon fertig bin, was aber ohne dein update nicht gegangen wäre. :slight_smile:

Thanks, I find these contributions always only if I am already finished, which would not have gone however without your update. :slight_smile:

I tested the update and it seems that it works now :slight_smile:
Have not tested with dbus-x11