[Bug 1862378] Re: libsystemd-shared broken in Multi-Arch

dann frazier 1862378 at bugs.launchpad.net
Thu Jul 1 16:12:43 UTC 2021


Yes, it still exists as of systemd 248.3-1ubuntu1:

ubuntu at howzit:~$ sudo dpkg --add-architecture armhf
ubuntu at howzit:~$ sudo apt update > /dev/null 2>&1
ubuntu at howzit:~$ sudo apt install systemd:armhf systemd-container:arm64
[...]
Setting up systemd:armhf (248.3-1ubuntu1) ...
Setting up systemd-container (248.3-1ubuntu1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/machines.target → /lib/systemd/system/ma
chines.target.
Setting up libnsl2:armhf (1.3.0-2) ...
Setting up libnss-nisplus:armhf (1.3-0ubuntu4) ...
Setting up libnss-nis:armhf (3.1-0ubuntu4) ...
Setting up libnss-mymachines:arm64 (248.3-1ubuntu1) ...
First installation detected...
Checking NSS setup...
Processing triggers for libc-bin (2.33-0ubuntu7) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for dbus (1.12.20-2ubuntu1) ...
Scanning processes...                                                                               
Scanning candidates...                                                                              
Scanning processor microcode...                                                                     
Scanning linux images...                                                                            

Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

Restarting services...
 systemctl restart systemd-timesyncd.service
Job for systemd-timesyncd.service failed because a fatal signal was delivered to the control process.
See "systemctl status systemd-timesyncd.service" and "journalctl -xeu systemd-timesyncd.service" for details.
Service restarts being deferred:
 systemctl restart systemd-logind.service

No containers need to be restarted.

User sessions running outdated binaries:
 ubuntu @ user manager service: systemd[3410]
ubuntu at howzit:~$ /lib/systemd/systemd-machined 
/lib/systemd/systemd-machined: error while loading shared libraries: libsystemd-shared-248.so: wrong ELF class: ELFCLASS32


** Changed in: systemd (Ubuntu)
       Status: Invalid => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1862378

Title:
  libsystemd-shared broken in Multi-Arch

Status in systemd package in Ubuntu:
  Triaged

Bug description:
  I noticed that systemd-machined was failing to start on an arm64 box.
  This box had armhf enabled, and turns out systemd had been cross-
  graded over to systemd:armhf[*]. It still had systemd-container:arm64
  installed, so now I had an arm64 /lib/systemd/systemd-machine, but an
  armhf /lib/systemd/libsystemd-shared-244.so.

  libsystemd-shared-244.so is from the systemd package. Since systemd is
  marked Multi-Arch: foreign, systemd:armhf was able to incorrectly
  satisfy systemd-container:arm64's dependency on systemd.

  [*] kudos to Multi-Arch that I simply hadn't noticed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1862378/+subscriptions



More information about the foundations-bugs mailing list