You are not logged in.

#76 2023-01-02 18:28:00

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

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

From systemd-git pinned to 09ed55c26d15401a893b52d4845414edab16f740 which I think is the commit you are stuck on I could not reproduce the issue in a clean chroot

git diff
diff --git a/PKGBUILD b/PKGBUILD
index de3cb7b..a29874a 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.r61691.09ed55c26d
 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=('git+https://github.com/systemd/systemd#commit=09ed55c26d15401a893b52d4845414edab16f740'
         '0001-Use-Arch-Linux-device-access-groups.patch'
         'initcpio-hook-udev'
         'initcpio-install-systemd'

Offline

#77 2023-01-02 19:39:02

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

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

Thx for reply so fast!

I copied to whole patch in patch.diff
and did git apply patch.diff in the systemd-git folder

git apply patch.diff
error: patch failed: PKGBUILD:5
error: PKGBUILD: patch does not apply

Last edited by Morta (2023-01-02 19:42:31)

Offline

#78 2023-01-02 19:50:29

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

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

I adjusted PKGBUILD manually and it's build your version with the patch. I will after rebuild initramfs reboot and hope this story has a end.

Offline

#79 2023-01-02 19:52:24

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

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

No isn't working

Offline

#80 2023-01-02 20:04:05

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

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

Install devtools if not already installed then use `extra-x86_64-build` instead of `makepkg`.  If that fails post the error.

Offline

#81 2023-01-02 20:07:32

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

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

loqs wrote:

Install devtools if not already installed then use `extra-x86_64-build` instead of `makepkg`.  If that fails post the error.

I‘m it’s build but the bug of not found LVM root partition is not gone. Have I to start the bisect from the beginning?

Offline

#82 2023-01-02 20:17:16

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

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

What is the output of the following in systemd-git/src/systemd `git bisect log`

Offline

#83 2023-01-04 15:53:49

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

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

~/build/systemd-git/systemd


git bisect log
git bisect start
# status: waiting for both good and bad commits
# good: [b622e95f2f59fcb58e23ddafed745eee26a0f52f] Merge pull request #23463 from bluca/hwdb
git bisect good b622e95f2f59fcb58e23ddafed745eee26a0f52f
# status: waiting for bad commit, 1 good commit known
# bad: [9ca1efbc4624efab1fb30acd79f7b84c53d18206] NEWS: add entries after 252-rc1, update contrib list
git bisect bad 9ca1efbc4624efab1fb30acd79f7b84c53d18206

Last edited by Morta (2023-01-04 15:55:33)

Offline

#84 2023-01-04 15:55:08

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

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

Oh sorry

Wrong folder

cd ~/build/systemd-git/src/systemd

git bisect log
error: We are not bisecting.

Last edited by Morta (2023-01-04 15:56:02)

Offline

#85 2023-01-04 16:07:00

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

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

Replace

source=('git+https://github.com/systemd/systemd#commit=09ed55c26d15401a893b52d4845414edab16f740'

with

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

Then rebuild and retest to see if plain 252 has the issue.

Offline

#86 2023-01-04 16:16:30

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

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

Packages (8) systemd-252.1-2 [removal]  systemd-libs-252.1-2 [removal]
             systemd-resolvconf-252.4-2 [removal]
             systemd-sysvcompat-252.1-2 [removal]
             systemd-git-252.r60659.e8dc52766e-1
             systemd-libs-git-252.r60659.e8dc52766e-1
             systemd-resolvconf-git-252.r60659.e8dc52766e-1
             systemd-sysvcompat-git-252.r60659.e8dc52766e-1
Ok:                 1053
Expected Fail:      0   
Fail:               0   
Unexpected Pass:    0   
Skipped:            18  
Timeout:            0   

It's build properly and I will reboot but I have the intention that it will doesn't work

Offline

#87 2023-01-04 16:19:30

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

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

F............. hell! It's boot proper!!!

Offline

#88 2023-01-04 16:20:12

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

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

Why than the officel repo version 252.2-1 doesn't work?

Offline

#89 2023-01-04 16:36:21

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

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

Something introduced after 252 is causing the issue.

Replace the pkgver() fucntion with the following so the names make more sense

pkgver() {
  cd "$_pkgbase"

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

Then set the source entry to the current upstream HEAD

source=('git+https://github.com/systemd/systemd'

Lets see if the issue is present  there.

Offline

#90 2023-01-04 16:44:00

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

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

Ok:                 1070
Expected Fail:      0   
Fail:               0   
Unexpected Pass:    0   
Skipped:            19  
Timeout:            0  
Packages (4) systemd-git-252.r1118.gde712a85ff-1  systemd-libs-git-252.r1118.gde712a85ff-1
             systemd-resolvconf-git-252.r1118.gde712a85ff-1  systemd-sysvcompat-git-252.r1118.gde712a85ff-1

It's rebuild initramfs and I will reboot soon!

Offline

#91 2023-01-04 16:46:05

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

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

Yes, unfortunately it's present!

Last edited by Morta (2023-01-04 16:46:45)

Offline

#92 2023-01-04 16:53:59

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

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

$ cd src/systemd
$ git reset --hard
$ git bisect start
status: waiting for both good and bad commits
$ git bisect good v252
status: waiting for bad commit, 1 good commit known
$ git bisect bad 09ed55c26d15401a893b52d4845414edab16f740
Bisecting: 515 revisions left to test after this (roughly 9 steps)
[027193db48e6d2a17e6b483387ee06299b8ab4d9] sd-netlink: always initialize return variable on success

So for the next build

source=('git+https://github.com/systemd/systemd#commit=027193db48e6d2a17e6b483387ee06299b8ab4d9'

then feed the result back to git bisect.

Offline

#93 2023-01-04 17:02:03

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

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

I did makepkg -efsi or should I makepkg -si ?

It's build properly.

Offline

#94 2023-01-04 17:04:16

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

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

Ok:                 1060
Expected Fail:      0   
Fail:               0   
Unexpected Pass:    0   
Skipped:            17  
Timeout:            0   
Packages (8) systemd-252.1-2 [removal]  systemd-libs-252.1-2 [removal]  systemd-resolvconf-252.4-2 [removal]
             systemd-sysvcompat-252.1-2 [removal]  systemd-git-252.r516.g027193db48-1
             systemd-libs-git-252.r516.g027193db48-1  systemd-resolvconf-git-252.r516.g027193db48-1
             systemd-sysvcompat-git-252.r516.g027193db48-1

Offline

#95 2023-01-04 17:05:55

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

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

I would have kept using extra-x86_64-build to keep the build clean.  Hopefully it should not make a difference.

Offline

#96 2023-01-04 17:08:07

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

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

It's doesn't boot

Offline

#97 2023-01-04 17:09:12

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

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

$ git bisect bad
Bisecting: 258 revisions left to test after this (roughly 8 steps)
[a5a318b664461a63dfed3119f8be7c3d5d58ea1c] tests: add tests for various corner cases of nulstr

Offline

#98 2023-01-04 17:12:48

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

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

[morta@5erver systemd]$ git bisect bad
Bisecting: 258 revisions left to test after this (roughly 8 steps)
[a5a318b664461a63dfed3119f8be7c3d5d58ea1c] tests: add tests for various corner cases of nulstr

Offline

#99 2023-01-04 17:16:44

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

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

Ok:                 1059
Expected Fail:      0   
Fail:               0   
Unexpected Pass:    0   
Skipped:            18  
Timeout:            0   
Packages (8) systemd-252.1-2 [removal]  systemd-libs-252.1-2 [removal]  systemd-resolvconf-252.4-2 [removal]
             systemd-sysvcompat-252.1-2 [removal]  systemd-git-252.r257.ga5a318b664-1
             systemd-libs-git-252.r257.ga5a318b664-1  systemd-resolvconf-git-252.r257.ga5a318b664-1
             systemd-sysvcompat-git-252.r257.ga5a318b664-1

Offline

#100 2023-01-04 17:21:06

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

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

git bisect bad? The build isn't working

Last edited by Morta (2023-01-04 17:21:48)

Offline

Board footer

Powered by FluxBB