Commit Graph

12 Commits

Author SHA1 Message Date
Lichen Liu
d83c41c768
Rebase to upstream 1.0.51
Upstream: https://github.com/rhkdump/kdump-utils/
Resolves: RHEL-50736
Resolves: RHEL-50738
Resolves: RHEL-62350
Resolves: RHEL-69929

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2024-12-11 10:26:02 +08:00
Philipp Rudo
0459178e7c Allow ssh opts to be processed correctly
Resolves: RHEL-62661
Upstream: https://github.com/rhkdump/kdump-utils.git
Conflict: None

commit 848f2b7102e7cf785d4d77e0f462ab3cbe571c40
Author: Coiby Xu <coxu@redhat.com>
Date:   Tue Oct 15 15:11:48 2024 +0800

    Allow ssh opts to be processed correctly

    Resolves: https://github.com/rhkdump/kdump-utils/issues/46

    ssh opts shouldn't be quoted otherwise it will be treated as one
    argument. For clarity, also rename ssh_opt to ssh_opts.

    Fixes: 7218f584 ("99kdumpbase: fix shellcheck warnings")
    Reported-by: Jean-Baptiste Trystram <jbtrystram@redhat.com>
    Signed-off-by: Coiby Xu <coxu@redhat.com>

Signed-off-by: Philipp Rudo <prudo@redhat.com>
2024-11-15 04:05:52 +00:00
Coiby Xu
d56516e8e5 Set up crashkernel value for osbuild
Resolves: https://issues.redhat.com/browse/RHEL-63071
Conflict: None

Upstream Status: git@github.com:rhkdump/kdump-utils.git

commit c196f5b9ebacbd60ef61ab20bfe399065e2de96b
Author: Coiby Xu <coxu@redhat.com>
Date:   Wed Oct 23 10:48:05 2024 +0800

    Set up crashkernel value for osbuild

    Resolves: https://issues.redhat.com/browse/RHEL-63071

    Currently the cloud image built by osbuild doesn't have crashkernel set
    up. Since kdumpctl will set up crashkernel only when kdump.service is
    enabled, it will fail if it's done in the following order
       -> kernel's %posttrans scriptlet
           -> 92-crashkernel.install
               -> kdumpctl _reset-crashkernel-for-installed_kernel
                   -> kdump-utils' %post scriptlet enables kdump.serivce

    This patch now let "systemd preset" kdump.service in the %post scriptlet
    instead. So when the kernel's %posttrans scriptlet is running, kdump.service
    is already enabled. %posttrans runs after all packages' %post
    scriptlets have been executed [1], so now crashkernel is set up in the
    following order,
        kdump-utils' post scriptlet which "systemd preset" kdump.service
            -> kernel's posttrans RPM scriptlet
                -> 92-crashkernel.install
                    -> kdumpctl _reset-crashkernel-for-installed_kernel

    And we expect users have now upgraded to kdump-utils so there
    is no need for the solution introduced in commit 5fe098fe.

    Note an agreement has been reached between kdump-utils and osbuild in
    https://bugzilla.redhat.com/show_bug.cgi?id=2024976 that kdump-utils
    will be responsible for setting up the crashkernel kernel parameter. And
    since kdump-utils will only set up crashkernel when kdump.service is
    enabled, we need to make sure kdump.service is enabled in the systemd
    preset.

    [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#ordering

    Fixes: 5fe098fe ("Don't systemctl preset kdump when updating kexec-tools to kdump-utils")
    Signed-off-by: Coiby Xu <coxu@redhat.com>

Signed-off-by: Coiby Xu <coxu@redhat.com>
2024-11-01 15:48:52 +08:00
Troy Dawson
75422e6bd8 Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:38:42 -07:00
Tao Liu
cb5cd377e3 Return the correct exit code of rebuild initrd
Related:  RHEL-29941
Upstream: Fedora
Conflict: None

commit f6e00948aba7c31f722af79ed72c4020868dcad7
Author: Tao Liu <ltao@redhat.com>
Date:   Fri Oct 18 21:45:03 2024 +1300

    Return the correct exit code of rebuild initrd

    Resolves: https://issues.redhat.com/browse/RHEL-63047

    The exit code of rebuild_initrd() should be either of
    rebuild_kdump/fadump_initrd(), rather than set_vmcore_creation_status(),
    otherwise it will cause a regression when rebuild initrd fails.

    Fixes: 88525ebf ("Introduce vmcore creation notification to kdump")

    Signed-off-by: Tao Liu <ltao@redhat.com>

Signed-off-by: Tao Liu <ltao@redhat.com>
2024-10-21 10:59:13 +13:00
Lichen Liu
6cd5205ade
Rebase to upstream v1.0.45
Upstream: Fedora
Conflict: None
Resolves: RHEL-59863
Resolves: RHEL-29941

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2024-10-11 10:23:31 +08:00
Lichen Liu
65382614d5
Release 1.0.43-2
Resolves: RHEL-50942

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2024-09-30 17:25:57 +08:00
Philipp Rudo
d38412baaf Enable erofs support for the kdump initrd
Resolves: RHEL-50942
Upstream: https://github.com/rhkdump/kdump-utils.git
Conflict: Dropped hunks concerning OVS bridge support in patch 3 and 5
	   due to missing 224d310 ("Support setting up Open vSwitch
	   (Ovs) Bridge network")

Also contains upstream commit

commit 2970176d9e9b7b6a1191a9ee54423d2f1c56fbaf
Author: Philipp Rudo <prudo@redhat.com>
Date:   Tue Sep 24 10:39:32 2024 +0200

    spec: fix patching of files in subdirectories

    With 23df04b ("dracut: create sub-directories for dracut modules") the
    dracut modules were moved to subdirectories. This causes problems when
    someone wants to include a patch to the spec file to change one of the
    files in those subdirectories. Reason is that '%autosetup' in the spec
    file calls 'patch' per default. 'patch' however, will strip all
    directories when it is called without option -p. Which means that it
    will search the file in the root directory and then fail because it
    cannot find it. Thus add option -p1 to '%autosetup' which will be passed
    on to 'patch'. Choose -p1 as that will work with the most common patch
    creation tools like git and packit.

    Signed-off-by: Philipp Rudo <prudo@redhat.com>

Signed-off-by: Philipp Rudo <prudo@redhat.com>
2024-09-27 15:48:12 +02:00
Lichen Liu
c53ac4eb20
Release 1.0.43-1
Resolves: RHEL-45254

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2024-07-15 11:34:17 +08:00
Lichen Liu
54de4cf24c
Enable gating test
Signed-off-by: Lichen Liu <lichliu@redhat.com>
2024-07-10 10:16:34 +08:00
Lichen Liu
2aabe542d7
Initial import for CentOS Stream 10
Resolves: RHEL-45252

Signed-off-by: Lichen Liu <lichliu@redhat.com>
2024-07-10 09:26:11 +08:00
Release Configuration Management
5faead4b6b New branch setup 2024-07-09 03:25:34 -04:00