FS#65769 - [systemd] 245-1 causes error in pacstrap and bootctl

Attached to Project: Arch Linux
Opened by Stefan (poidl) - Tuesday, 10 March 2020, 15:10 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 11 March 2020, 08:58 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Dave Reisner (falconindy)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I'm installing Arch on a new machine. Yesterday it worked, today the command

bootctl --path=/boot install

yields an error messsage:

Failed to get machine id: No such file or directory

I noticed that today (or late yesterday), systemd was upgraded. The pacman.log from pacstrap is appended below. Note the errors starting with

systemd-machine-id-setup: error while loading shared libraries: libp11-kit.so.0: cannot open shared object file: No such file or directory

Everything works if I use yesterday's Arch Linux Archive snapshot mirror in my installation script instead of the current repo.

Additional info:
* package version(s): 245-1
* config and/or log files etc: appended below
* link to upstream bug report, if any: N/A

Steps to reproduce:

pacstrap -c /mnt base linux linux-firmware sshfs nano wpa_supplicant

(I have not tried without the optional packages, but I doubt they matter...)



From pacman.log:

##############################
[2020-03-10T14:54:36+0000] [PACMAN] Running 'pacman -r /mnt -Sy --noconfirm base linux linux-firmware sshfs nano wpa_supplicant'
[2020-03-10T14:54:36+0000] [PACMAN] synchronizing package lists
[2020-03-10T14:55:00+0000] [ALPM] transaction started
[2020-03-10T14:55:00+0000] [ALPM] installed iana-etc (20200224-1)
[2020-03-10T14:55:00+0000] [ALPM] installed filesystem (2019.10-2)
[2020-03-10T14:55:00+0000] [ALPM] installed linux-api-headers (5.4.17-1)
[2020-03-10T14:55:00+0000] [ALPM] installed tzdata (2019c-3)
[2020-03-10T14:55:00+0000] [ALPM] installed glibc (2.31-1)
[2020-03-10T14:55:01+0000] [ALPM] installed gcc-libs (9.2.1+20200130-2)
[2020-03-10T14:55:01+0000] [ALPM] installed ncurses (6.2-1)
[2020-03-10T14:55:01+0000] [ALPM] installed readline (8.0.004-1)
[2020-03-10T14:55:01+0000] [ALPM] installed bash (5.0.016-1)
[2020-03-10T14:55:01+0000] [ALPM] installed attr (2.4.48-2)
[2020-03-10T14:55:01+0000] [ALPM] installed acl (2.2.53-2)
[2020-03-10T14:55:01+0000] [ALPM] installed gmp (6.2.0-1)
[2020-03-10T14:55:01+0000] [ALPM] installed libcap (2.33-1)
[2020-03-10T14:55:01+0000] [ALPM] installed gdbm (1.18.1-3)
[2020-03-10T14:55:01+0000] [ALPM] installed db (5.3.28-5)
[2020-03-10T14:55:03+0000] [ALPM] installed perl (5.30.1-1)
[2020-03-10T14:55:03+0000] [ALPM] installed openssl (1.1.1.d-2)
[2020-03-10T14:55:04+0000] [ALPM] installed coreutils (8.31-3)
[2020-03-10T14:55:04+0000] [ALPM] installed zlib (1:1.2.11-4)
[2020-03-10T14:55:04+0000] [ALPM] installed xz (5.2.4-2)
[2020-03-10T14:55:04+0000] [ALPM] installed bzip2 (1.0.8-3)
[2020-03-10T14:55:04+0000] [ALPM] installed libseccomp (2.4.2-1)
[2020-03-10T14:55:04+0000] [ALPM] installed file (5.38-3)
[2020-03-10T14:55:04+0000] [ALPM] installed findutils (4.7.0-2)
[2020-03-10T14:55:04+0000] [ALPM] installed mpfr (4.0.2-2)
[2020-03-10T14:55:04+0000] [ALPM] installed gawk (5.0.1-2)
[2020-03-10T14:55:04+0000] [ALPM] installed pcre (8.43-2)
[2020-03-10T14:55:04+0000] [ALPM] installed grep (3.4-1)
[2020-03-10T14:55:04+0000] [ALPM] installed libgpg-error (1.37-1)
[2020-03-10T14:55:04+0000] [ALPM] installed libgcrypt (1.8.5-2)
[2020-03-10T14:55:04+0000] [ALPM] installed lz4 (1:1.9.2-2)
[2020-03-10T14:55:04+0000] [ALPM] installed systemd-libs (245-1)
[2020-03-10T14:55:04+0000] [ALPM] installed procps-ng (3.3.15-2)
[2020-03-10T14:55:04+0000] [ALPM] installed sed (4.8-1)
[2020-03-10T14:55:05+0000] [ALPM] installed tar (1.32-3)
[2020-03-10T14:55:05+0000] [ALPM] installed libffi (3.2.1-4)
[2020-03-10T14:55:05+0000] [ALPM] installed libutil-linux (2.35.1-1)
[2020-03-10T14:55:05+0000] [ALPM] installed glib2 (2.64.0-1)
[2020-03-10T14:55:05+0000] [ALPM] installed libunistring (0.9.10-2)
[2020-03-10T14:55:05+0000] [ALPM] installed icu (65.1-3)
[2020-03-10T14:55:05+0000] [ALPM] installed libxml2 (2.9.10-1)
[2020-03-10T14:55:05+0000] [ALPM] installed libcroco (0.6.13-1)
[2020-03-10T14:55:06+0000] [ALPM] installed gettext (0.20.1-3)
[2020-03-10T14:55:06+0000] [ALPM] installed hwids (20200204-1)
[2020-03-10T14:55:06+0000] [ALPM] installed kmod (27-1)
[2020-03-10T14:55:06+0000] [ALPM] installed pciutils (3.6.4-1)
[2020-03-10T14:55:06+0000] [ALPM] installed psmisc (23.3-2)
[2020-03-10T14:55:06+0000] [ALPM] installed cracklib (2.9.7-2)
[2020-03-10T14:55:06+0000] [ALPM] installed e2fsprogs (1.45.5-1)
[2020-03-10T14:55:06+0000] [ALPM] installed libsasl (2.1.27-2)
[2020-03-10T14:55:06+0000] [ALPM] installed libldap (2.4.49-1)
[2020-03-10T14:55:06+0000] [ALPM] installed keyutils (1.6.1-3)
[2020-03-10T14:55:06+0000] [ALPM] installed krb5 (1.17.1-1)
[2020-03-10T14:55:06+0000] [ALPM] installed libtirpc (1.2.5-1)
[2020-03-10T14:55:06+0000] [ALPM] installed pambase (20190105.1-2)
[2020-03-10T14:55:06+0000] [ALPM] installed pam (1.3.1-2)
[2020-03-10T14:55:06+0000] [ALPM] installed libcap-ng (0.7.10-1)
[2020-03-10T14:55:06+0000] [ALPM] installed audit (2.8.5-6)
[2020-03-10T14:55:06+0000] [ALPM] installed shadow (4.8.1-1)
[2020-03-10T14:55:06+0000] [ALPM] installed util-linux (2.35.1-1)
[2020-03-10T14:55:06+0000] [ALPM] installed less (551-3)
[2020-03-10T14:55:06+0000] [ALPM] installed gzip (1.10-3)
[2020-03-10T14:55:06+0000] [ALPM] installed licenses (20191011-2)
[2020-03-10T14:55:06+0000] [ALPM] installed expat (2.2.9-3)
[2020-03-10T14:55:06+0000] [ALPM] installed zstd (1.4.4-1)
[2020-03-10T14:55:06+0000] [ALPM] installed libarchive (3.4.2-1)
[2020-03-10T14:55:07+0000] [ALPM] installed libtasn1 (4.16.0-1)
[2020-03-10T14:55:07+0000] [ALPM] installed device-mapper (2.02.186-5)
[2020-03-10T14:55:07+0000] [ALPM] installed popt (1.16-12)
[2020-03-10T14:55:07+0000] [ALPM] installed json-c (0.13.1-3)
[2020-03-10T14:55:07+0000] [ALPM] installed argon2 (20190702-2)
[2020-03-10T14:55:07+0000] [ALPM] installed cryptsetup (2.3.0-1)
[2020-03-10T14:55:07+0000] [ALPM] installed dbus (1.12.16-5)
[2020-03-10T14:55:07+0000] [ALPM] installed libmnl (1.0.4-3)
[2020-03-10T14:55:07+0000] [ALPM] installed libnftnl (1.1.5-1)
[2020-03-10T14:55:07+0000] [ALPM] installed libnl (3.5.0-2)
[2020-03-10T14:55:07+0000] [ALPM] installed libusb (1.0.23-2)
[2020-03-10T14:55:07+0000] [ALPM] installed libpcap (1.9.1-2)
[2020-03-10T14:55:07+0000] [ALPM] installed libnfnetlink (1.0.1-3)
[2020-03-10T14:55:07+0000] [ALPM] installed libnetfilter_conntrack (1.0.7-1)
[2020-03-10T14:55:07+0000] [ALPM] installed iptables (1:1.8.4-1)
[2020-03-10T14:55:07+0000] [ALPM] installed kbd (2.2.0-5)
[2020-03-10T14:55:07+0000] [ALPM] installed libidn2 (2.3.0-1)
[2020-03-10T14:55:07+0000] [ALPM] installed libelf (0.177-2)
[2020-03-10T14:55:07+0000] [ALPM] installed pcre2 (10.34-3)
[2020-03-10T14:55:07+0000] [ALPM] installed systemd (245-1)
[2020-03-10T14:55:08+0000] [ALPM-SCRIPTLET] systemd-machine-id-setup: error while loading shared libraries: libp11-kit.so.0: cannot open shared object file: No such file or directory
[2020-03-10T14:55:08+0000] [ALPM-SCRIPTLET] systemd-sysusers: error while loading shared libraries: libp11-kit.so.0: cannot open shared object file: No such file or directory
[2020-03-10T14:55:08+0000] [ALPM-SCRIPTLET] journalctl: error while loading shared libraries: libp11-kit.so.0: cannot open shared object file: No such file or directory
[2020-03-10T14:55:08+0000] [ALPM-SCRIPTLET] systemctl: error while loading shared libraries: libp11-kit.so.0: cannot open shared object file: No such file or directory
[2020-03-10T14:55:08+0000] [ALPM-SCRIPTLET] :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
[2020-03-10T14:55:08+0000] [ALPM-SCRIPTLET] bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
[2020-03-10T14:55:08+0000] [ALPM-SCRIPTLET] chgrp: invalid group: 'systemd-journal-remote'
[2020-03-10T14:55:08+0000] [ALPM] installed p11-kit (0.23.20-2)
[2020-03-10T14:55:08+0000] [ALPM-SCRIPTLET] Created symlink /etc/systemd/user/sockets.target.wants/p11-kit-server.socket → /usr/lib/systemd/user/p11-kit-server.socket.
[2020-03-10T14:55:08+0000] [ALPM] installed ca-certificates-utils (20181109-3)
[2020-03-10T14:55:08+0000] [ALPM] installed ca-certificates-mozilla (3.51-1)
[2020-03-10T14:55:08+0000] [ALPM] installed ca-certificates (20181109-3)
[2020-03-10T14:55:08+0000] [ALPM] installed libssh2 (1.9.0-2)
[2020-03-10T14:55:08+0000] [ALPM] installed libpsl (0.21.0-2)
[2020-03-10T14:55:08+0000] [ALPM] installed libnghttp2 (1.39.2-2)
[2020-03-10T14:55:08+0000] [ALPM] installed curl (7.69.0-5)
[2020-03-10T14:55:08+0000] [ALPM] installed npth (1.6-2)
[2020-03-10T14:55:08+0000] [ALPM] installed libksba (1.3.5-2)
[2020-03-10T14:55:08+0000] [ALPM] installed libassuan (2.5.3-2)
[2020-03-10T14:55:08+0000] [ALPM] installed libsecret (0.20.1-1)
[2020-03-10T14:55:08+0000] [ALPM] installed pinentry (1.1.0-5)
[2020-03-10T14:55:08+0000] [ALPM] installed nettle (3.5.1-2)
[2020-03-10T14:55:08+0000] [ALPM] installed gnutls (3.6.12-1)
[2020-03-10T14:55:08+0000] [ALPM] installed sqlite (3.31.1-1)
[2020-03-10T14:55:09+0000] [ALPM] installed gnupg (2.2.19-1)
[2020-03-10T14:55:09+0000] [ALPM] installed gpgme (1.13.1-3)
[2020-03-10T14:55:09+0000] [ALPM] installed pacman-mirrorlist (20200207-1)
[2020-03-10T14:55:09+0000] [ALPM] installed archlinux-keyring (20200108-1)
[2020-03-10T14:55:09+0000] [ALPM] installed pacman (5.2.1-4)
[2020-03-10T14:55:09+0000] [ALPM] installed systemd-sysvcompat (245-1)
[2020-03-10T14:55:09+0000] [ALPM] installed iputils (20190709-2)
[2020-03-10T14:55:09+0000] [ALPM] installed iproute2 (5.5.0-1)
[2020-03-10T14:55:09+0000] [ALPM] installed base (2-2)
[2020-03-10T14:55:09+0000] [ALPM] installed mkinitcpio-busybox (1.31.1-1)
[2020-03-10T14:55:09+0000] [ALPM] installed diffutils (3.7-3)
[2020-03-10T14:55:09+0000] [ALPM] installed mkinitcpio (27-3)
[2020-03-10T14:55:10+0000] [ALPM] installed linux (5.5.8.arch1-1)
[2020-03-10T14:55:12+0000] [ALPM] installed linux-firmware (20200224.efcfa03-1)
[2020-03-10T14:55:12+0000] [ALPM] installed fuse-common (3.9.0-1)
[2020-03-10T14:55:12+0000] [ALPM] installed fuse3 (3.9.0-1)
[2020-03-10T14:55:12+0000] [ALPM] installed libedit (20191231_3.1-1)
[2020-03-10T14:55:12+0000] [ALPM] installed dnssec-anchors (20190629-2)
[2020-03-10T14:55:12+0000] [ALPM] installed ldns (1.7.1-2)
[2020-03-10T14:55:12+0000] [ALPM] installed openssh (8.2p1-3)
[2020-03-10T14:55:12+0000] [ALPM] installed sshfs (3.7.0-1)
[2020-03-10T14:55:12+0000] [ALPM] installed nano (4.8-1)
[2020-03-10T14:55:12+0000] [ALPM] installed wpa_supplicant (2:2.9-7)
[2020-03-10T14:55:12+0000] [ALPM] transaction completed
[2020-03-10T14:55:13+0000] [ALPM] running '20-systemd-sysusers.hook'...
[2020-03-10T14:55:13+0000] [ALPM] running '30-systemd-catalog.hook'...
[2020-03-10T14:55:13+0000] [ALPM] running '30-systemd-daemon-reload.hook'...
[2020-03-10T14:55:13+0000] [ALPM-SCRIPTLET] Running in chroot, ignoring request: daemon-reload
[2020-03-10T14:55:13+0000] [ALPM] running '30-systemd-hwdb.hook'...
[2020-03-10T14:55:14+0000] [ALPM] running '30-systemd-sysctl.hook'...
[2020-03-10T14:55:14+0000] [ALPM] running '30-systemd-tmpfiles.hook'...
[2020-03-10T14:55:14+0000] [ALPM] running '30-systemd-udev-reload.hook'...
[2020-03-10T14:55:14+0000] [ALPM-SCRIPTLET] Running in chroot, ignoring request.
[2020-03-10T14:55:14+0000] [ALPM] running '30-systemd-update.hook'...
[2020-03-10T14:55:14+0000] [ALPM] running '60-depmod.hook'...
[2020-03-10T14:55:21+0000] [ALPM] running '90-mkinitcpio-install.hook'...
[2020-03-10T14:55:21+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2020-03-10T14:55:21+0000] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2020-03-10T14:55:21+0000] [ALPM-SCRIPTLET] ==> Starting build: 5.5.8-arch1-1
[2020-03-10T14:55:21+0000] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2020-03-10T14:55:21+0000] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2020-03-10T14:55:21+0000] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2020-03-10T14:55:21+0000] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2020-03-10T14:55:21+0000] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2020-03-10T14:55:22+0000] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2020-03-10T14:55:22+0000] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2020-03-10T14:55:22+0000] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2020-03-10T14:55:22+0000] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-03-10T14:55:22+0000] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2020-03-10T14:55:24+0000] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-03-10T14:55:24+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2020-03-10T14:55:24+0000] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2020-03-10T14:55:24+0000] [ALPM-SCRIPTLET] ==> Starting build: 5.5.8-arch1-1
[2020-03-10T14:55:24+0000] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2020-03-10T14:55:24+0000] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2020-03-10T14:55:24+0000] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2020-03-10T14:55:24+0000] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2020-03-10T14:55:25+0000] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2020-03-10T14:55:26+0000] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2020-03-10T14:55:27+0000] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2020-03-10T14:55:28+0000] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2020-03-10T14:55:29+0000] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2020-03-10T14:55:31+0000] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-03-10T14:55:31+0000] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2020-03-10T14:55:36+0000] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-03-10T14:55:36+0000] [ALPM] running 'dbus-reload.hook'...
[2020-03-10T14:55:36+0000] [ALPM-SCRIPTLET] Running in chroot, ignoring request: try-reload-or-restart
[2020-03-10T14:55:36+0000] [ALPM] running 'detect-old-perl-modules.hook'...
[2020-03-10T14:55:36+0000] [ALPM-SCRIPTLET] perl: warning: Setting locale failed.
[2020-03-10T14:55:36+0000] [ALPM-SCRIPTLET] perl: warning: Please check that your locale settings:
[2020-03-10T14:55:36+0000] [ALPM-SCRIPTLET] LANGUAGE = (unset),
[2020-03-10T14:55:36+0000] [ALPM-SCRIPTLET] LC_ALL = (unset),
[2020-03-10T14:55:36+0000] [ALPM-SCRIPTLET] LC_MESSAGES = "",
[2020-03-10T14:55:36+0000] [ALPM-SCRIPTLET] LANG = "en_US.UTF-8"
[2020-03-10T14:55:36+0000] [ALPM-SCRIPTLET] are supported and installed on your system.
[2020-03-10T14:55:36+0000] [ALPM-SCRIPTLET] perl: warning: Falling back to the standard locale ("C").
[2020-03-10T14:55:36+0000] [ALPM] running 'update-ca-trust.hook'...
##############################


This task depends upon

Closed by  Christian Hesse (eworm)
Wednesday, 11 March 2020, 08:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd 245-2
Comment by freswa (frederik) - Tuesday, 10 March 2020, 15:25 GMT
Seems like p11-kit should be a dependency of systemd.
Comment by Stefan (poidl) - Tuesday, 10 March 2020, 15:29 GMT
Hmm. I search for "p11" here:

https://github.com/systemd/systemd/blob/master/README

but no luck. Maybe p11-kit is a dependency of another dependency?
Comment by Christian Hesse (eworm) - Tuesday, 10 March 2020, 15:44 GMT
If we add p11-kit as a dependency nothing is won... p11-kit depends on systemd for its install script ( FS#59897 ), resulting in a circular dependency.
Any idea how to solve this? We could make the p11-kit install script an alpm hook...
Comment by Jan Alexander Steffens (heftig) - Tuesday, 10 March 2020, 15:45 GMT
p11-kit is a direct dependency of /usr/lib/systemd/libsystemd-shared-245.so .
Comment by Stefan (poidl) - Tuesday, 10 March 2020, 16:16 GMT
For what it's worth: I just installed using an old snapshot

https://archive.archlinux.org/repos/2020/03/08/\$repo/os/\$arch

which worked fine, then rebooted, switched my mirrorlist to

https://mirror.rackspace.com/archlinux/\$repo/os/\$arch

and did `pacman -Syu`.

Works fine.



Comment by Jan Alexander Steffens (heftig) - Tuesday, 10 March 2020, 16:35 GMT
should be fixed in systemd 245-2
Comment by Stefan (poidl) - Wednesday, 11 March 2020, 08:47 GMT
Yes, 245-2 works for me! Thanks for the quick fix!

Loading...