On Wed, Feb 05, 2020 at 10:32:29AM +0100, Michael Biebl wrote: > >> Can you run > >> SYSTEMD_LOG_LEVEL=debug systemd-tmpfiles --create --prefix /var/log/journal > >> echo $? > > bash: systemd-tmpfiles: command not found > > The chroot has sysvinit-core installed, it's too old to have systemd > > installed. systemd is getting installed when installing build-deps. > > can you run this after the failed upgrade? (install, not upgrade)
Attached. -- WBR, wRAR
(sid-amd64)root@belkar:~# apt install systemd Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: dbus dmsetup libapparmor1 libargon2-1 libcap2 libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libexpat1 libip4tc2 libjson-c4 libkmod2 libssl1.1 Suggested packages: default-dbus-session-bus | dbus-session-bus systemd-container policykit-1 The following NEW packages will be installed: dbus dmsetup libapparmor1 libargon2-1 libcap2 libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libexpat1 libip4tc2 libjson-c4 libkmod2 libssl1.1 systemd 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/6668 kB of archives. After this operation, 21.8 MB of additional disk space will be used. Do you want to continue? [Y/n] Preconfiguring packages ... Selecting previously unselected package libapparmor1:amd64. (Reading database ... 11243 files and directories currently installed.) Preparing to unpack .../00-libapparmor1_2.13.3-7_amd64.deb ... Unpacking libapparmor1:amd64 (2.13.3-7) ... Selecting previously unselected package libcap2:amd64. Preparing to unpack .../01-libcap2_1%3a2.27-1_amd64.deb ... Unpacking libcap2:amd64 (1:2.27-1) ... Selecting previously unselected package libargon2-1:amd64. Preparing to unpack .../02-libargon2-1_0~20171227-0.2_amd64.deb ... Unpacking libargon2-1:amd64 (0~20171227-0.2) ... Selecting previously unselected package dmsetup. Preparing to unpack .../03-dmsetup_2%3a1.02.167-1_amd64.deb ... Unpacking dmsetup (2:1.02.167-1) ... Selecting previously unselected package libdevmapper1.02.1:amd64. Preparing to unpack .../04-libdevmapper1.02.1_2%3a1.02.167-1_amd64.deb ... Unpacking libdevmapper1.02.1:amd64 (2:1.02.167-1) ... Selecting previously unselected package libjson-c4:amd64. Preparing to unpack .../05-libjson-c4_0.13.1+dfsg-6_amd64.deb ... Unpacking libjson-c4:amd64 (0.13.1+dfsg-6) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../06-libssl1.1_1.1.1d-2_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1d-2) ... Selecting previously unselected package libcryptsetup12:amd64. Preparing to unpack .../07-libcryptsetup12_2%3a2.2.2-2_amd64.deb ... Unpacking libcryptsetup12:amd64 (2:2.2.2-2) ... Selecting previously unselected package libip4tc2:amd64. Preparing to unpack .../08-libip4tc2_1.8.4-2_amd64.deb ... Unpacking libip4tc2:amd64 (1.8.4-2) ... Selecting previously unselected package libkmod2:amd64. Preparing to unpack .../09-libkmod2_26+20191223-1_amd64.deb ... Unpacking libkmod2:amd64 (26+20191223-1) ... Selecting previously unselected package systemd. Preparing to unpack .../10-systemd_244.1-3_amd64.deb ... Unpacking systemd (244.1-3) ... Selecting previously unselected package libdbus-1-3:amd64. Preparing to unpack .../11-libdbus-1-3_1.12.16-2_amd64.deb ... Unpacking libdbus-1-3:amd64 (1.12.16-2) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../12-libexpat1_2.2.9-1_amd64.deb ... Unpacking libexpat1:amd64 (2.2.9-1) ... Selecting previously unselected package dbus. Preparing to unpack .../13-dbus_1.12.16-2_amd64.deb ... Unpacking dbus (1.12.16-2) ... Setting up libip4tc2:amd64 (1.8.4-2) ... Setting up libexpat1:amd64 (2.2.9-1) ... Setting up libapparmor1:amd64 (2.13.3-7) ... Setting up libssl1.1:amd64 (1.1.1d-2) ... Setting up libargon2-1:amd64 (0~20171227-0.2) ... Setting up libcap2:amd64 (1:2.27-1) ... Setting up libdbus-1-3:amd64 (1.12.16-2) ... Setting up dbus (1.12.16-2) ... invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up libjson-c4:amd64 (0.13.1+dfsg-6) ... Setting up libkmod2:amd64 (26+20191223-1) ... Setting up libdevmapper1.02.1:amd64 (2:1.02.167-1) ... Setting up dmsetup (2:1.02.167-1) ... Setting up libcryptsetup12:amd64 (2:2.2.2-2) ... Setting up systemd (244.1-3) ... Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /lib/systemd/system/remote-fs.target. Created symlink /etc/systemd/system/dbus-org.freedesktop.timesync1.service → /lib/systemd/system/systemd-timesyncd.service. Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service → /lib/systemd/system/systemd-timesyncd.service. Initializing machine ID from D-Bus machine ID. Detected unsafe path transition /var/log → /var/log/journal during canonicalization of /var/log/journal. Detected unsafe path transition /var/log → /var/log/journal during canonicalization of /var/log/journal. Detected unsafe path transition /var/log → /var/log/journal during canonicalization of /var/log/journal. Detected unsafe path transition /var/log → /var/log/journal during canonicalization of /var/log/journal. dpkg: error processing package systemd (--configure): installed systemd package post-installation script subprocess returned error exit status 73 Processing triggers for libc-bin (2.29-9) ... Errors were encountered while processing: systemd E: Sub-process /usr/bin/dpkg returned an error code (1) (sid-amd64)root@belkar:~# SYSTEMD_LOG_LEVEL=debug systemd-tmpfiles --create --prefix /var/log/journal Looking for configuration files in (higher priority first): /etc/tmpfiles.d /run/tmpfiles.d /usr/local/lib/tmpfiles.d /usr/lib/tmpfiles.d /lib/tmpfiles.d Reading config file "/usr/lib/tmpfiles.d/dbus.conf"… Entry "/var/lib/dbus" does not match any include prefix, skipping. Entry "/var/lib/dbus/machine-id" does not match any include prefix, skipping. Reading config file "/usr/lib/tmpfiles.d/debian.conf"… Entry "/run/shm" does not match any include prefix, skipping. Entry "/run/sendsigs.omit.d" does not match any include prefix, skipping. Entry "/etc/mtab" does not match any include prefix, skipping. Reading config file "/usr/lib/tmpfiles.d/home.conf"… Entry "/home" does not match any include prefix, skipping. Entry "/srv" does not match any include prefix, skipping. Reading config file "/usr/lib/tmpfiles.d/journal-nocow.conf"… Entry "/var/log/journal" matches include prefix "/var/log/journal". Entry "/var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5" matches include prefix "/var/log/journal". Entry "/var/log/journal/remote" matches include prefix "/var/log/journal". Reading config file "/usr/lib/tmpfiles.d/legacy.conf"… Entry "/var/lock" does not match any include prefix, skipping. Entry "/run/lock/subsys" does not match any include prefix, skipping. Ignoring entry r! "/forcefsck" because --boot is not specified. Ignoring entry r! "/fastboot" because --boot is not specified. Ignoring entry r! "/forcequotacheck" because --boot is not specified. Reading config file "/usr/lib/tmpfiles.d/passwd.conf"… Ignoring entry r! "/etc/gshadow.lock" because --boot is not specified. Ignoring entry r! "/etc/shadow.lock" because --boot is not specified. Ignoring entry r! "/etc/passwd.lock" because --boot is not specified. Ignoring entry r! "/etc/group.lock" because --boot is not specified. Ignoring entry r! "/etc/subuid.lock" because --boot is not specified. Ignoring entry r! "/etc/subgid.lock" because --boot is not specified. Reading config file "/usr/lib/tmpfiles.d/systemd-nologin.conf"… Ignoring entry F! "/run/nologin" because --boot is not specified. Reading config file "/usr/lib/tmpfiles.d/systemd-tmp.conf"… Entry "/tmp/systemd-private-c035001afeea436fad9fe181658277e8-*" does not match any include prefix, skipping. Entry "/tmp/systemd-private-c035001afeea436fad9fe181658277e8-*/tmp" does not match any include prefix, skipping. Entry "/var/tmp/systemd-private-c035001afeea436fad9fe181658277e8-*" does not match any include prefix, skipping. Entry "/var/tmp/systemd-private-c035001afeea436fad9fe181658277e8-*/tmp" does not match any include prefix, skipping. Ignoring entry R! "/tmp/systemd-private-*" because --boot is not specified. Ignoring entry R! "/var/tmp/systemd-private-*" because --boot is not specified. Entry "/var/lib/systemd/coredump/.#core*.c035001afeea436fad9fe181658277e8*" does not match any include prefix, skipping. Ignoring entry r! "/var/lib/systemd/coredump/.#*" because --boot is not specified. Reading config file "/usr/lib/tmpfiles.d/systemd.conf"… Entry "/run/user" does not match any include prefix, skipping. Ignoring entry F! "/run/utmp" because --boot is not specified. Entry "/run/systemd/ask-password" does not match any include prefix, skipping. Entry "/run/systemd/seats" does not match any include prefix, skipping. Entry "/run/systemd/sessions" does not match any include prefix, skipping. Entry "/run/systemd/users" does not match any include prefix, skipping. Entry "/run/systemd/machines" does not match any include prefix, skipping. Entry "/run/systemd/shutdown" does not match any include prefix, skipping. Entry "/run/systemd/netif" does not match any include prefix, skipping. Entry "/run/systemd/netif/links" does not match any include prefix, skipping. Entry "/run/systemd/netif/leases" does not match any include prefix, skipping. Entry "/run/log" does not match any include prefix, skipping. Entry "/run/log/journal" does not match any include prefix, skipping. Entry "/run/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5" does not match any include prefix, skipping. Entry "/run/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5" does not match any include prefix, skipping. Entry "/run/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5" does not match any include prefix, skipping. Entry "/run/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5/*.journal*" does not match any include prefix, skipping. Entry "/var/log/journal" matches include prefix "/var/log/journal". Entry "/var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5" matches include prefix "/var/log/journal". Entry "/var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5/system.journal" matches include prefix "/var/log/journal". Entry "/var/log/journal" matches include prefix "/var/log/journal". Entry "/var/log/journal" matches include prefix "/var/log/journal". Entry "/var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5" matches include prefix "/var/log/journal". Entry "/var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5" matches include prefix "/var/log/journal". Entry "/var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5/system.journal" matches include prefix "/var/log/journal". Entry "/var/lib/systemd" does not match any include prefix, skipping. Entry "/var/lib/systemd/coredump" does not match any include prefix, skipping. Entry "/var/lib/private" does not match any include prefix, skipping. Entry "/var/log/private" does not match any include prefix, skipping. Entry "/var/cache/private" does not match any include prefix, skipping. Reading config file "/usr/lib/tmpfiles.d/tmp.conf"… Entry "/tmp" does not match any include prefix, skipping. Reading config file "/usr/lib/tmpfiles.d/var.conf"… Entry "/var" does not match any include prefix, skipping. Entry "/var/run" does not match any include prefix, skipping. Entry "/var/log" does not match any include prefix, skipping. Entry "/var/log/wtmp" does not match any include prefix, skipping. Entry "/var/log/btmp" does not match any include prefix, skipping. Entry "/var/log/lastlog" does not match any include prefix, skipping. Entry "/var/cache" does not match any include prefix, skipping. Entry "/var/lib" does not match any include prefix, skipping. Entry "/var/spool" does not match any include prefix, skipping. Reading config file "/usr/lib/tmpfiles.d/x11.conf"… Ignoring entry D! "/tmp/.X11-unix" because --boot is not specified. Ignoring entry D! "/tmp/.ICE-unix" because --boot is not specified. Ignoring entry D! "/tmp/.XIM-unix" because --boot is not specified. Ignoring entry D! "/tmp/.font-unix" because --boot is not specified. Ignoring entry D! "/tmp/.Test-unix" because --boot is not specified. Ignoring entry r! "/tmp/.X[0-9]*-lock" because --boot is not specified. Running create action for entry a /var/log/journal Detected unsafe path transition /var/log → /var/log/journal during canonicalization of /var/log/journal. Running create action for entry a /var/log/journal Detected unsafe path transition /var/log → /var/log/journal during canonicalization of /var/log/journal. Running create action for entry h /var/log/journal Detected unsafe path transition /var/log → /var/log/journal during canonicalization of /var/log/journal. Running create action for entry z /var/log/journal Detected unsafe path transition /var/log → /var/log/journal during canonicalization of /var/log/journal. Failed to determine whether '/var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5' is below autofs, ignoring: No such file or directory Running create action for entry a /var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5 Failed to determine whether '/var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5' is below autofs, ignoring: No such file or directory Running create action for entry a /var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5 Failed to determine whether '/var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5' is below autofs, ignoring: No such file or directory Running create action for entry h /var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5 Failed to determine whether '/var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5' is below autofs, ignoring: No such file or directory Running create action for entry z /var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5 Failed to determine whether '/var/log/journal/remote' is below autofs, ignoring: No such file or directory Running create action for entry h /var/log/journal/remote Failed to determine whether '/var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5/system.journal' is below autofs, ignoring: No such file or directory Running create action for entry a /var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5/system.journal Failed to determine whether '/var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5/system.journal' is below autofs, ignoring: No such file or directory Running create action for entry z /var/log/journal/e2fc718b1e4c4cf8201eaeda5e3a8ea5/system.journal (sid-amd64)root@belkar:~# echo $? 73
signature.asc
Description: PGP signature