You are not logged in.

#101 2023-01-04 17:25:23

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

git bisect bad
Bisecting: 128 revisions left to test after this (roughly 7 steps)
[db62f51a9f7bc881a0363b8f57c181808bb1d379] basic/filesystems: fs_in_group() returns a boolean

Offline

#102 2023-01-04 17:29:50

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,064

Re: [Solved]systemd kills boot up till version 252.1-2-arch

There's not much point in posting every single step here, if you understand how to do it and are sure to replace the correct files when installing/updating versions you should be able to go through this process until you'll eventually (... after roughly 7 times...) land at a good spot again and will hopefully have an exact commit where it first started to fail.

Last edited by V1del (2023-01-04 17:30:16)

Offline

#103 2023-01-04 17:31:04

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [Solved]systemd kills boot up till version 252.1-2-arch

09ed55c26d15401a893b52d4845414edab16f740 and db62f51a9f7bc881a0363b8f57c181808bb1d379 build for me in a clean chroot.

Offline

#104 2023-01-04 17:34:05

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

The next build was a good one.

Ok. And how I make a clean chroot?

Offline

#105 2023-01-04 17:36:25

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Morta wrote:

Ok. And how I make a clean chroot?

That is what extra-x86_64-build does.  DeveloperWiki:Building_in_a_clean_chroot.

Offline

#106 2023-01-04 17:55:25

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

morta@5erver ~]$ mkarchroot $CHROOT/root base-devel
==> Creating install root at /home/morta/chroot/root
==> Installing packages to /home/morta/chroot/root
:: Synchronizing package databases...
 core                                      152.6 KiB  1038 KiB/s 00:00 [#######################################] 100%
 extra                                    1734.2 KiB  20.4 MiB/s 00:00 [#######################################] 100%
 community                                   7.2 MiB  43.0 MiB/s 00:00 [#######################################] 100%
 multilib                                  161.8 KiB  9.88 MiB/s 00:00 [#######################################] 100%
:: There are 26 members in group base-devel:
:: Repository core
   1) archlinux-keyring  2) autoconf  3) automake  4) binutils  5) bison  6) debugedit  7) fakeroot  8) file
   9) findutils  10) flex  11) gawk  12) gcc  13) gettext  14) grep  15) groff  16) gzip  17) libtool  18) m4
   19) make  20) pacman  21) patch  22) pkgconf  23) sed  24) sudo  25) texinfo  26) which

Enter a selection (default=all): 
resolving dependencies...
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "pacman"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit", a dependency of "gnutls"
warning: cannot resolve "gnutls", a dependency of "gnupg"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "tpm2-tss"
warning: cannot resolve "tpm2-tss", a dependency of "libsecret"
warning: cannot resolve "libsecret", a dependency of "pinentry"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "tpm2-tss"
warning: cannot resolve "tpm2-tss", a dependency of "libsecret"
warning: cannot resolve "libsecret-1.so=0-64", a dependency of "pinentry"
warning: cannot resolve "pinentry", a dependency of "gnupg"
warning: cannot resolve "gnupg>=2", a dependency of "gpgme"
warning: cannot resolve "gpgme", a dependency of "pacman"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit", a dependency of "gnutls"
warning: cannot resolve "gnutls", a dependency of "gnupg"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "tpm2-tss"
warning: cannot resolve "tpm2-tss", a dependency of "libsecret"
warning: cannot resolve "libsecret", a dependency of "pinentry"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "tpm2-tss"
warning: cannot resolve "tpm2-tss", a dependency of "libsecret"
warning: cannot resolve "libsecret-1.so=0-64", a dependency of "pinentry"
warning: cannot resolve "pinentry", a dependency of "gnupg"
warning: cannot resolve "gnupg", a dependency of "pacman"
warning: cannot resolve "pacman", a dependency of "archlinux-keyring"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "libelf"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "libcurl.so=4-64", a dependency of "libelf"
warning: cannot resolve "libelf", a dependency of "binutils"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "libelf"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "libcurl.so=4-64", a dependency of "libelf"
warning: cannot resolve "libelf", a dependency of "debugedit"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "systemd-libs", a dependency of "util-linux"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "util-linux"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libudev.so=1-64", a dependency of "util-linux"
warning: cannot resolve "util-linux", a dependency of "fakeroot"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "libelf"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "libcurl.so=4-64", a dependency of "libelf"
warning: cannot resolve "libelf", a dependency of "binutils"
warning: cannot resolve "binutils>=2.28", a dependency of "gcc"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "pacman"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit", a dependency of "gnutls"
warning: cannot resolve "gnutls", a dependency of "gnupg"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "tpm2-tss"
warning: cannot resolve "tpm2-tss", a dependency of "libsecret"
warning: cannot resolve "libsecret", a dependency of "pinentry"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "tpm2-tss"
warning: cannot resolve "tpm2-tss", a dependency of "libsecret"
warning: cannot resolve "libsecret-1.so=0-64", a dependency of "pinentry"
warning: cannot resolve "pinentry", a dependency of "gnupg"
warning: cannot resolve "gnupg>=2", a dependency of "gpgme"
warning: cannot resolve "gpgme", a dependency of "pacman"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit", a dependency of "gnutls"
warning: cannot resolve "gnutls", a dependency of "gnupg"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "tpm2-tss"
warning: cannot resolve "tpm2-tss", a dependency of "libsecret"
warning: cannot resolve "libsecret", a dependency of "pinentry"
warning: ignoring package systemd-libs-252.4-2
warning: cannot resolve "libsystemd.so=0-64", a dependency of "p11-kit"
warning: cannot resolve "p11-kit>=0.24.0", a dependency of "ca-certificates-utils"
warning: cannot resolve "ca-certificates-utils>=20181109-3", a dependency of "ca-certificates-mozilla"
warning: cannot resolve "ca-certificates-mozilla", a dependency of "ca-certificates"
warning: cannot resolve "ca-certificates", a dependency of "curl"
warning: cannot resolve "curl", a dependency of "tpm2-tss"
warning: cannot resolve "tpm2-tss", a dependency of "libsecret"
warning: cannot resolve "libsecret-1.so=0-64", a dependency of "pinentry"
warning: cannot resolve "pinentry", a dependency of "gnupg"
warning: cannot resolve "gnupg", a dependency of "pacman"
:: The following packages cannot be upgraded due to unresolvable dependencies:
      archlinux-keyring  binutils  debugedit  fakeroot  gcc  pacman

:: Do you want to skip the above packages for this upgrade? [y/N] 
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by pacman
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit' required by gnutls
:: unable to satisfy dependency 'gnutls' required by gnupg
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by tpm2-tss
:: unable to satisfy dependency 'tpm2-tss' required by libsecret
:: unable to satisfy dependency 'libsecret' required by pinentry
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by tpm2-tss
:: unable to satisfy dependency 'tpm2-tss' required by libsecret
:: unable to satisfy dependency 'libsecret-1.so=0-64' required by pinentry
:: unable to satisfy dependency 'pinentry' required by gnupg
:: unable to satisfy dependency 'gnupg>=2' required by gpgme
:: unable to satisfy dependency 'gpgme' required by pacman
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit' required by gnutls
:: unable to satisfy dependency 'gnutls' required by gnupg
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by tpm2-tss
:: unable to satisfy dependency 'tpm2-tss' required by libsecret
:: unable to satisfy dependency 'libsecret' required by pinentry
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by tpm2-tss
:: unable to satisfy dependency 'tpm2-tss' required by libsecret
:: unable to satisfy dependency 'libsecret-1.so=0-64' required by pinentry
:: unable to satisfy dependency 'pinentry' required by gnupg
:: unable to satisfy dependency 'gnupg' required by pacman
:: unable to satisfy dependency 'pacman' required by archlinux-keyring
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by libelf
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'libcurl.so=4-64' required by libelf
:: unable to satisfy dependency 'libelf' required by binutils
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by libelf
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'libcurl.so=4-64' required by libelf
:: unable to satisfy dependency 'libelf' required by debugedit
:: unable to satisfy dependency 'systemd-libs' required by util-linux
:: unable to satisfy dependency 'libsystemd.so=0-64' required by util-linux
:: unable to satisfy dependency 'libudev.so=1-64' required by util-linux
:: unable to satisfy dependency 'util-linux' required by fakeroot
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by libelf
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'libcurl.so=4-64' required by libelf
:: unable to satisfy dependency 'libelf' required by binutils
:: unable to satisfy dependency 'binutils>=2.28' required by gcc
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by pacman
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit' required by gnutls
:: unable to satisfy dependency 'gnutls' required by gnupg
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by tpm2-tss
:: unable to satisfy dependency 'tpm2-tss' required by libsecret
:: unable to satisfy dependency 'libsecret' required by pinentry
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by tpm2-tss
:: unable to satisfy dependency 'tpm2-tss' required by libsecret
:: unable to satisfy dependency 'libsecret-1.so=0-64' required by pinentry
:: unable to satisfy dependency 'pinentry' required by gnupg
:: unable to satisfy dependency 'gnupg>=2' required by gpgme
:: unable to satisfy dependency 'gpgme' required by pacman
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit' required by gnutls
:: unable to satisfy dependency 'gnutls' required by gnupg
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by tpm2-tss
:: unable to satisfy dependency 'tpm2-tss' required by libsecret
:: unable to satisfy dependency 'libsecret' required by pinentry
:: unable to satisfy dependency 'libsystemd.so=0-64' required by p11-kit
:: unable to satisfy dependency 'p11-kit>=0.24.0' required by ca-certificates-utils
:: unable to satisfy dependency 'ca-certificates-utils>=20181109-3' required by ca-certificates-mozilla
:: unable to satisfy dependency 'ca-certificates-mozilla' required by ca-certificates
:: unable to satisfy dependency 'ca-certificates' required by curl
:: unable to satisfy dependency 'curl' required by tpm2-tss
:: unable to satisfy dependency 'tpm2-tss' required by libsecret
:: unable to satisfy dependency 'libsecret-1.so=0-64' required by pinentry
:: unable to satisfy dependency 'pinentry' required by gnupg
:: unable to satisfy dependency 'gnupg' required by pacman
==> ERROR: Failed to install packages to new root
==> ERROR: Failed to install all packages
[morta@5erver ~]$ mkarchroot $CHROOT/root base-devel
==> ERROR: Working directory '/home/morta/chroot/root' already exists

Offline

#107 2023-01-04 17:59:28

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Using the convenience way you do not need to build the chroot.  Replace makepkg with extra-x86_64-build and then pacman -U to install the results.

Offline

#108 2023-01-04 18:32:54

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

git bisect good
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[a940f507fbe1c81d6787dc0b7ce232c39818eec9] pid1: skip cleanup if root is not tmpfs/ramfs

Offline

#109 2023-01-04 18:42:49

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

a940f507fbe1c81d6787dc0b7ce232c39818eec9 is the first bad commit
commit a940f507fbe1c81d6787dc0b7ce232c39818eec9
Author: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date:   Mon Nov 7 12:40:20 2022 +0100

    pid1: skip cleanup if root is not tmpfs/ramfs
    
    in_initrd() was really doing two things: checking if we're in the initrd, and
    also verifying that the initrd is set up correctly. But this second check is
    complicated, in particular it would return false for overlayfs, even with an
    upper tmpfs layer. It also doesn't support the use case of having an initial
    initrd with tmpfs, and then transitioning into an intermediate initrd that is
    e.g. a DDI, i.e. a filesystem possibly with verity arranged as a disk image.
    
    We don't need to check if we're in initrd in every program. Instead, concerns
    are separated:
    - in_initrd() just does a simple check for /etc/initrd-release.
    - When doing cleanup, pid1 checks if it's on a tmpfs before starting to wipe
      the old root. The only case where we want to remove the old root is when
      we're on a plain tempory filesystem. With an overlay, we'd be creating
      whiteout files, which is not very useful. (*)
    
    This should resolve https://bugzilla.redhat.com/show_bug.cgi?id=2137631
    which is caused by systemd refusing to treat the system as an initrd because
    overlayfs is used.
    
    (*) I think the idea of keeping the initrd fs around for shutdown is outdated.
    We should just have a completely separate exitrd that is unpacked when we want
    to shut down. This way, we don't waste memory at runtime, and we also don't
    transition to a potentially older version of systemd. But we don't have support
    for this yet.
    
    This replaces 0fef5b0f0bd9ded1ae7bcb3e4e4b2893e36c51a6.

 src/basic/initrd-util.c  | 20 +++++++++-----------
 src/shared/switch-root.c | 22 ++++++++++++----------
 2 files changed, 21 insertions(+), 21 deletions(-)

Offline

#110 2023-01-04 18:43:27

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

git bisect start
# status: waiting for both good and bad commits
# good: [e8dc52766e1fdb4f8c09c3ab654d1270e1090c8d] Finalise ? SpOoOky ? NEWS for v252
git bisect good e8dc52766e1fdb4f8c09c3ab654d1270e1090c8d
# status: waiting for bad commit, 1 good commit known
# bad: [09ed55c26d15401a893b52d4845414edab16f740] systemctl: fix typo
git bisect bad 09ed55c26d15401a893b52d4845414edab16f740
# bad: [027193db48e6d2a17e6b483387ee06299b8ab4d9] sd-netlink: always initialize return variable on success
git bisect bad 027193db48e6d2a17e6b483387ee06299b8ab4d9
# bad: [a5a318b664461a63dfed3119f8be7c3d5d58ea1c] tests: add tests for various corner cases of nulstr
git bisect bad a5a318b664461a63dfed3119f8be7c3d5d58ea1c
# good: [db62f51a9f7bc881a0363b8f57c181808bb1d379] basic/filesystems: fs_in_group() returns a boolean
git bisect good db62f51a9f7bc881a0363b8f57c181808bb1d379
# bad: [84fe5182d58829cd8eef9af113695d83506e6a94] Merge pull request #25315 from poettering/dissect-mtree
git bisect bad 84fe5182d58829cd8eef9af113695d83506e6a94
# good: [239e4a42a69c31e55e58618d800e0d68c68931d3] networkd-ipv4acd.c: Use net/if.h for getting IFF_LOOPBACK definition
git bisect good 239e4a42a69c31e55e58618d800e0d68c68931d3
# good: [0b24845d1fe30f946ef1cad1acb126f9ac78446c] Merge pull request #25302 from poettering/dissect-with
git bisect good 0b24845d1fe30f946ef1cad1acb126f9ac78446c
# good: [b5b40106c7a733d8a88268a91fd08a2edb395cae] man: document new systemd-dissect --mtree switch
git bisect good b5b40106c7a733d8a88268a91fd08a2edb395cae
# good: [3ed332e77a9c85a28529cdd267d8681cc652f42c] test-fd-util: fix typos and use log_tests_skipped()
git bisect good 3ed332e77a9c85a28529cdd267d8681cc652f42c
# bad: [a92401d558942feb4c2c8f04aa42771b062703ec] Merge pull request #25280 from keszybz/initrd-with-overlayfs
git bisect bad a92401d558942feb4c2c8f04aa42771b062703ec
# good: [3a21c554a5aecd9a88f1b9bcbf8b437487a2c3f7] meson: add version.h dependency to more components
git bisect good 3a21c554a5aecd9a88f1b9bcbf8b437487a2c3f7
# bad: [a940f507fbe1c81d6787dc0b7ce232c39818eec9] pid1: skip cleanup if root is not tmpfs/ramfs
git bisect bad a940f507fbe1c81d6787dc0b7ce232c39818eec9
# first bad commit: [a940f507fbe1c81d6787dc0b7ce232c39818eec9] pid1: skip cleanup if root is not tmpfs/ramfs

Offline

#111 2023-01-04 18:48:00

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

How can I patch this now?

Offline

#112 2023-01-04 18:51:21

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Now you have the git bisect try reopening the upstream bug report.

Offline

#113 2023-01-04 18:59:21

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Offline

#114 2023-01-04 19:17:47

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Can you try changing the source line to

source=('systemd::git+https://github.com/systemd/systemd-stable#tag=v252.1'

then delete the systemd directory in the directory that contains the PKGBUILD.  Then try building 252.1 and see if that has the issue.
The commit you found as bad is not part of 252 and does not appear to have been backported to systemd-stable.  So there must be a different cause.

Offline

#115 2023-01-04 19:24:21

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

==> Extracting sources...
  -> Creating working copy of systemd git repo...
fatal: bad object refs/bisect/bad
error: /home/morta/build/systemd-git/systemd did not send all necessary objects

Offline

#116 2023-01-04 19:33:45

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [Solved]systemd kills boot up till version 252.1-2-arch

`rm -rf /home/morta/build/systemd-git/systemd` and try it again.

Offline

#117 2023-01-04 19:35:19

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Isn't working. I did this already before

Offline

#118 2023-01-04 19:39:43

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [Solved]systemd kills boot up till version 252.1-2-arch

This is the diff of changes I made from systemd-git

git diff
diff --git a/PKGBUILD b/PKGBUILD
index de3cb7b..f39ea13 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ _pkgbase=systemd
 pkgbase=${_pkgbase}-git
 pkgname=('systemd-git' 'systemd-libs-git' 'systemd-resolvconf-git' 'systemd-sysvcompat-git')
 pkgdesc='systemd (git version)'
-pkgver=252.r61711.71eaa9291d
+pkgver=252.1
 pkgrel=1
 arch=('x86_64')
 url='https://www.github.com/systemd/systemd'
@@ -16,7 +16,7 @@ makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
              'meson' 'libseccomp' 'pcre2' 'audit' 'kexec-tools' 'libxkbcommon'
              'bash-completion' 'p11-kit' 'systemd' 'libfido2' 'tpm2-tss' 'rsync'
              'bpf' 'libbpf' 'clang' 'llvm')
-source=('git+https://github.com/systemd/systemd'
+source=('systemd::git+https://github.com/systemd/systemd-stable#tag=v252.1'
         '0001-Use-Arch-Linux-device-access-groups.patch'
         'initcpio-hook-udev'
         'initcpio-install-systemd'
@@ -57,8 +57,8 @@ sha512sums=('SKIP'
 
 pkgver() {
   cd "$_pkgbase"
-  local _major=`grep -m1 version meson.build | cut -d\' -f2`
-  printf "%s.r%s.%s" "${_major}" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+
+  git describe | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g;s/\.rc/rc/'
 }
 
 prepare() {

When I test extracting the source

makepkg -Codd --noprepare 
==> Making package: systemd-git 252.1-1 (Wed 04 Jan 2023 19:36:39 UTC)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
  -> Cloning systemd git repo...
Cloning into bare repository '/builds/systemd-git/systemd'...
remote: Enumerating objects: 463034, done.
remote: Counting objects: 100% (4230/4230), done.
remote: Compressing objects: 100% (1586/1586), done.
remote: Total 463034 (delta 2905), reused 3385 (delta 2616), pack-reused 458804
Receiving objects: 100% (463034/463034), 159.44 MiB | 14.39 MiB/s, done.
Resolving deltas: 100% (365253/365253), done.
  -> Found 0001-Use-Arch-Linux-device-access-groups.patch
  -> Found initcpio-hook-udev
  -> Found initcpio-install-systemd
  -> Found initcpio-install-udev
  -> Found arch.conf
  -> Found loader.conf
  -> Found splash-arch.bmp
  -> Found systemd-user.pam
  -> Found systemd-hook
  -> Found 20-systemd-sysusers.hook
  -> Found 30-systemd-binfmt.hook
  -> Found 30-systemd-catalog.hook
  -> Found 30-systemd-daemon-reload.hook
  -> Found 30-systemd-hwdb.hook
  -> Found 30-systemd-sysctl.hook
  -> Found 30-systemd-tmpfiles.hook
  -> Found 30-systemd-udev-reload.hook
  -> Found 30-systemd-update.hook
==> Validating source files with sha512sums...
    systemd ... Skipped
    0001-Use-Arch-Linux-device-access-groups.patch ... Passed
    initcpio-hook-udev ... Passed
    initcpio-install-systemd ... Passed
    initcpio-install-udev ... Passed
    arch.conf ... Passed
    loader.conf ... Passed
    splash-arch.bmp ... Passed
    systemd-user.pam ... Passed
    systemd-hook ... Passed
    20-systemd-sysusers.hook ... Passed
    30-systemd-binfmt.hook ... Passed
    30-systemd-catalog.hook ... Passed
    30-systemd-daemon-reload.hook ... Passed
    30-systemd-hwdb.hook ... Passed
    30-systemd-sysctl.hook ... Passed
    30-systemd-tmpfiles.hook ... Passed
    30-systemd-udev-reload.hook ... Passed
    30-systemd-update.hook ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of systemd git repo...
Cloning into 'systemd'...
done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Sources are ready.

Edit:
You might also have to delete /home/morta/build/systemd-git/src

Last edited by loqs (2023-01-04 19:42:56)

Offline

#119 2023-01-04 19:43:28

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

My PKGBUILD looks so

# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
# Based on core/systemd by Christian Hesse <mail@eworm.de>

_pkgbase=systemd
pkgbase=$_pkgbase-git
pkgname=('systemd-git' 'systemd-libs-git' 'systemd-resolvconf-git' 'systemd-sysvcompat-git')
pkgdesc='systemd (git version)'
pkgver=252.r166.ga940f507fb
pkgrel=1
arch=('x86_64')
url='https://www.github.com/systemd/systemd'
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
             'intltool' 'iptables' 'kmod' 'libcap' 'libidn2' 'libgcrypt'
             'libmicrohttpd' 'libxcrypt' 'libxslt' 'util-linux' 'linux-api-headers'
             'python-jinja' 'python-lxml' 'quota-tools' 'shadow' 'gnu-efi-libs' 'git'
             'meson' 'libseccomp' 'pcre2' 'audit' 'kexec-tools' 'libxkbcommon'
             'bash-completion' 'p11-kit' 'systemd' 'libfido2' 'tpm2-tss' 'rsync')
source=('systemd::git+https://github.com/systemd/systemd-stable#tag=v252.1'
        '0001-Use-Arch-Linux-device-access-groups.patch'
        'initcpio-hook-udev'
        'initcpio-install-systemd'
        'initcpio-install-udev'
        'arch.conf'
        'loader.conf'
        'splash-arch.bmp'::'https://github.com/archlinux/svntogit-packages/raw/packages/systemd/trunk/splash-arch.bmp'
        'systemd-user.pam'
        'systemd-hook'
        '20-systemd-sysusers.hook'
        '30-systemd-binfmt.hook'
        '30-systemd-catalog.hook'
        '30-systemd-daemon-reload.hook'
        '30-systemd-hwdb.hook'
        '30-systemd-sysctl.hook'
        '30-systemd-tmpfiles.hook'
        '30-systemd-udev-reload.hook'
        '30-systemd-update.hook')
sha512sums=('SKIP'
            '3ccf783c28f7a1c857120abac4002ca91ae1f92205dcd5a84aff515d57e706a3f9240d75a0a67cff5085716885e06e62597baa86897f298662ec36a940cf410e'
            'f0d933e8c6064ed830dec54049b0a01e27be87203208f6ae982f10fb4eddc7258cb2919d594cbfb9a33e74c3510cfd682f3416ba8e804387ab87d1a217eb4b73'
            'aeefb607471cffb5ed4c3d9f36dc0954a9a08cee4b7b4ff55468b561e089e3d8448398906a7df328049ba51b712e4d50698b96bc152bdb03a35ce39c3f51a7cb'
            'a8c7e4a2cc9c9987e3c957a1fc3afe8281f2281fffd2e890913dcf00cf704024fb80d86cb75f9314b99b0e03bac275b22de93307bfc226d8be9435497e95b7e6'
            '61032d29241b74a0f28446f8cf1be0e8ec46d0847a61dadb2a4f096e8686d5f57fe5c72bcf386003f6520bc4b5856c32d63bf3efe7eb0bc0deefc9f68159e648'
            'c416e2121df83067376bcaacb58c05b01990f4614ad9de657d74b6da3efa441af251d13bf21e3f0f71ddcb4c9ea658b81da3d915667dc5c309c87ec32a1cb5a5'
            '5a1d78b5170da5abe3d18fdf9f2c3a4d78f15ba7d1ee9ec2708c4c9c2e28973469bc19386f70b3cf32ffafbe4fcc4303e5ebbd6d5187a1df3314ae0965b25e75'
            'b90c99d768dc2a4f020ba854edf45ccf1b86a09d2f66e475de21fe589ff7e32c33ef4aa0876d7f1864491488fd7edb2682fc0d68e83a6d4890a0778dc2d6fe19'
            '217a9dc3f9d8cd0c9fee54f777396f5a270c2e8a30c572ce5f635165adadcec275af0dae1456019cedb9cc93b7cef0862e5070aeb99a19e496625200e8dfac93'
            '299dcc7094ce53474521356647bdd2fb069731c08d14a872a425412fcd72da840727a23664b12d95465bf313e8e8297da31259508d1c62cc2dcea596160e21c5'
            '0d6bc3d928cfafe4e4e0bc04dbb95c5d2b078573e4f9e0576e7f53a8fab08a7077202f575d74a3960248c4904b5f7f0661bf17dbe163c524ab51dd30e3cb80f7'
            '2b50b25e8680878f7974fa9d519df7e141ca11c4bfe84a92a5d01bb193f034b1726ea05b3c0030bad1fbda8dbb78bf1dc7b73859053581b55ba813c39b27d9dc'
            '63e55b3acd14bc54320b6f2310b43398651ad4e262d4f4a0135e05d34a993e56ed673cc46e57f15b418371df5c4cef6f54486db96325e4abb1d33fb1a3946254'
            'a1661ab946c6cd7d3c6251a2a9fd68afe231db58ce33c92c42594aedb5629be8f299ba08a34713327b373a3badd1554a150343d8d3e5dfb102999c281bd49154'
            '9426829605bbb9e65002437e02ed54e35c20fdf94706770a3dc1049da634147906d6b98bf7f5e7516c84068396a12c6feaf72f92b51bdf19715e0f64620319de'
            'da7a97d5d3701c70dd5388b0440da39006ee4991ce174777931fea2aa8c90846a622b2b911f02ae4d5fffb92680d9a7e211c308f0f99c04896278e2ee0d9a4dc'
            'a50d202a9c2e91a4450b45c227b295e1840cc99a5e545715d69c8af789ea3dd95a03a30f050d52855cabdc9183d4688c1b534eaa755ebe93616f9d192a855ee3'
            '825b9dd0167c072ba62cabe0677e7cd20f2b4b850328022540f122689d8b25315005fa98ce867cf6e7460b2b26df16b88bb3b5c9ebf721746dce4e2271af7b97')

pkgver() {
  cd "$_pkgbase"

  git describe | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g;s/\.rc/rc/'
}

prepare() {
  cd "$_pkgbase"

  # Replace cdrom/dialout/tape groups with optical/uucp/storage
  patch -Np1 -i ../0001-Use-Arch-Linux-device-access-groups.patch
}

build() {
  local _timeservers=({0..3}.arch.pool.ntp.org)
  local _nameservers=(
    # We use these public name services, ordered by their privacy policy (hopefully):
    #  * Cloudflare (https://1.1.1.1/)
    #  * Quad9 (https://www.quad9.net/)
    #  * Google (https://developers.google.com/speed/public-dns/)
    '1.1.1.1#cloudflare-dns.com'
    '9.9.9.9#dns.quad9.net'
    '8.8.8.8#dns.google'
    '2606:4700:4700::1111#cloudflare-dns.com'
    '2620:fe::9#dns.quad9.net'
    '2001:4860:4860::8888#dns.google'
  )

  local _meson_options=(
    # internal version comparison is incompatible with pacman:
    #   249~rc1 < 249 < 249.1 < 249rc
    -Dversion-tag="${pkgver}-${pkgrel}-arch"
    -Dshared-lib-tag="${pkgver}-${pkgrel}"
    -Dmode=release

    -Dgnu-efi=true
    -Dima=false
    -Dlibidn2=true
    -Dlz4=true
    -Dman=true

    # We disable DNSSEC by default, it still causes trouble:
    # https://github.com/systemd/systemd/issues/10579
    
    -Ddbuspolicydir=/usr/share/dbus-1/system.d
    -Ddefault-dnssec=no
    -Ddefault-hierarchy=unified
    -Ddefault-kill-user-processes=false
    -Ddefault-locale='C.UTF-8'
    -Dlocalegen-path=/usr/bin/locale-gen
    -Ddns-over-tls=openssl
    -Dfallback-hostname='archlinux'
    -Dnologin-path=/usr/bin/nologin
    -Dntp-servers="${_timeservers[*]}"
    -Ddns-servers="${_nameservers[*]}"
    -Drpmmacrosdir=no
    -Dsysvinit-path=
    -Dsysvrcnd-path=

    -Dsbat-distro='arch'
    -Dsbat-distro-summary='Arch Linux'
    -Dsbat-distro-pkgname="${pkgname}"
    -Dsbat-distro-version="${pkgver}"
    -Dsbat-distro-url="https://archlinux.org/packages/core/x86_64/${pkgname}/"
  )

  arch-meson "$_pkgbase" build "${_meson_options[@]}"

  meson compile -C build
}

check() {
  meson test -C build
}

package_systemd-git() {
  pkgdesc='system and service manager'
  pkgdesc=+' (git version)'
  license=('GPL2' 'LGPL2.1')
  depends=('acl' 'libacl.so' 'bash' 'cryptsetup' 'libcryptsetup.so' 'dbus'
           'iptables' 'kbd' 'kmod' 'libkmod.so' 'hwdata' 'libcap' 'libcap.so'
           'libgcrypt' 'libxcrypt' 'libcrypt.so' 'systemd-libs-git' 'libidn2' 'lz4' 'pam'
           'libelf' 'libseccomp' 'libseccomp.so' 'util-linux' 'libblkid.so'
           'libmount.so' 'xz' 'pcre2' 'audit' 'libaudit.so' 'libp11-kit'
           'libp11-kit.so' 'openssl' 'libcrypto.so' 'libssl.so')
  provides=('nss-myhostname' "systemd-tools=$pkgver" "udev=$pkgver")
  provides+=("systemd=$pkgver")
  replaces=('nss-myhostname' 'systemd-tools' 'udev')
  conflicts=('nss-myhostname' 'systemd-tools' 'udev')
  conflicts+=('systemd')
  optdepends=('libmicrohttpd: remote journald capabilities'
              'quota-tools: kernel-level quota management'
              'systemd-sysvcompat: symlink package to provide sysvinit binaries'
              'polkit: allow administration as unprivileged user'
              'curl: machinectl pull-tar and pull-raw'
              'libfido2: unlocking LUKS2 volumes with FIDO2 token'
              'tpm2-tss: unlocking LUKS2 volumes with TPM2')
  backup=(etc/pam.d/systemd-user
          etc/systemd/coredump.conf
          etc/systemd/homed.conf
          etc/systemd/journald.conf
          etc/systemd/journal-remote.conf
          etc/systemd/journal-upload.conf
          etc/systemd/logind.conf
          etc/systemd/networkd.conf
          etc/systemd/oomd.conf
          etc/systemd/pstore.conf
          etc/systemd/resolved.conf
          etc/systemd/sleep.conf
          etc/systemd/system.conf
          etc/systemd/timesyncd.conf
          etc/systemd/user.conf
          etc/udev/udev.conf)
  install=systemd.install

  meson install -C build --destdir "$pkgdir"

  # we'll create this on installation
  rmdir "$pkgdir"/var/log/journal/remote

  # runtime libraries shipped with systemd-libs
  install -d -m0755 systemd-libs
  mv "$pkgdir"/usr/lib/lib{nss,systemd,udev}*.so* systemd-libs

  # manpages shipped with systemd-sysvcompat
  rm "$pkgdir"/usr/share/man/man8/{halt,poweroff,reboot,shutdown}.8

  # executable (symlinks) shipped with systemd-sysvcompat
  rm "$pkgdir"/usr/bin/{halt,init,poweroff,reboot,shutdown}

  # files shipped with systemd-resolvconf
  rm "$pkgdir"/usr/{bin/resolvconf,share/man/man1/resolvconf.1}

  # avoid a potential conflict with [core]/filesystem
  rm "$pkgdir"/usr/share/factory/etc/{issue,nsswitch.conf}
  sed -i -e '/^C \/etc\/nsswitch\.conf/d' \
    -e '/^C \/etc\/issue/d' "$pkgdir"/usr/lib/tmpfiles.d/etc.conf

  # ship default policy to leave services disabled
  echo 'disable *' >"$pkgdir"/usr/lib/systemd/system-preset/99-default.preset

  # add mkinitcpio hooks
  install -D -m0644 initcpio-install-systemd "$pkgdir"/usr/lib/initcpio/install/systemd
  install -D -m0644 initcpio-install-udev "$pkgdir"/usr/lib/initcpio/install/udev
  install -D -m0644 initcpio-hook-udev "$pkgdir"/usr/lib/initcpio/hooks/udev

  # The group 'systemd-journal' is allocated dynamically and may have varying
  # gid on different systems. Let's install with gid 0 (root), systemd-tmpfiles
  # will fix the permissions for us. (see /usr/lib/tmpfiles.d/systemd.conf)
  install -d -o root -g root -m 2755 "$pkgdir"/var/log/journal

  # match directory owner/group and mode from [extra]/polkit
  install -d -o root -g 102 -m 0750 "$pkgdir"/usr/share/polkit-1/rules.d

  # add example bootctl configuration
  install -D -m0644 arch.conf "$pkgdir"/usr/share/systemd/bootctl/arch.conf
  install -D -m0644 loader.conf "$pkgdir"/usr/share/systemd/bootctl/loader.conf
  install -D -m0644 splash-arch.bmp "$pkgdir"/usr/share/systemd/bootctl/splash-arch.bmp

  # pacman hooks
  install -D -m0755 systemd-hook "$pkgdir"/usr/share/libalpm/scripts/systemd-hook
  install -D -m0644 -t "$pkgdir"/usr/share/libalpm/hooks *.hook

  # overwrite the systemd-user PAM configuration with our own
  install -D -m0644 systemd-user.pam "$pkgdir"/etc/pam.d/systemd-user
}

package_systemd-libs-git() {
  pkgdesc='systemd client libraries'
  pkgdesc+=' (git version)'
  depends=('glibc' 'libcap' 'libgcrypt' 'libp11-kit' 'lz4' 'xz' 'zstd')
  license=('LGPL2.1')
  provides=('libsystemd' 'libsystemd.so' 'libudev.so')
  provides+=("systemd-libs=$pkgver")
  conflicts=('libsystemd')
  conflicts+=('systemd-libs')
  replaces=('libsystemd')

  install -d -m0755 "$pkgdir"/usr
  mv systemd-libs "$pkgdir"/usr/lib
}

package_systemd-resolvconf-git() {
  pkgdesc='systemd resolvconf replacement (for use with systemd-resolved)'
  pkgdesc+=' (git version)'
  license=('LGPL2.1')
  depends=('systemd-git')
  provides=('openresolv' 'resolvconf')
  provides+=("systemd-resolvconf=$pkgver")
  conflicts=('openresolv')
  conflicts+=('systemd-resolvconf')

  install -d -m0755 "$pkgdir"/usr/bin
  ln -s resolvectl "$pkgdir"/usr/bin/resolvconf

  install -d -m0755 "$pkgdir"/usr/share/man/man1
  ln -s resolvectl.1.gz "$pkgdir"/usr/share/man/man1/resolvconf.1.gz
}

package_systemd-sysvcompat-git() {
  pkgdesc='sysvinit compat for systemd'
  pkgdesc+=' (git version)'
  license=('GPL2')
  conflicts=('sysvinit')
  conflicts+=('systemd-sysvcompat')
  depends=('systemd-git')
  provides=("systemd-sysvcompat=$pkgver")

  install -D -m0644 -t "$pkgdir"/usr/share/man/man8 \
    build/man/{halt,poweroff,reboot,shutdown}.8

  install -d -m0755 "$pkgdir"/usr/bin
  ln -s ../lib/systemd/systemd "$pkgdir"/usr/bin/init
  for tool in halt poweroff reboot shutdown; do
    ln -s systemctl "$pkgdir"/usr/bin/$tool
  done
}

And doesn't work

Offline

#120 2023-01-04 19:50:59

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [Solved]systemd kills boot up till version 252.1-2-arch

That included removing  /home/morta/build/systemd-git/src from my edit?

Offline

#121 2023-01-04 19:52:52

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Now it's compiling

Offline

#122 2023-01-04 20:00:01

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

It's boot properly

Offline

#123 2023-01-04 20:04:56

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [Solved]systemd kills boot up till version 252.1-2-arch

So lets try 252.2

source=('systemd::git+https://github.com/systemd/systemd-stable#tag=v252.2'

Offline

#124 2023-01-05 17:00:19

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Doesn't boot

Offline

#125 2023-01-05 17:10:42

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Offline

Board footer

Powered by FluxBB