Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
Christopher Co 04f7ddc43f
fix: remove dhcp-client requires from kexec-tools (#9727)
dhcp-client package is not actually needed for kexec-tools to function. Additionally the dhcp package is deprecated upstream.

Remove the dhcp-client dependency from kexec-tools.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-07-09 12:49:59 -07:00
Christopher Co 215e0f7e2c
fix: use optimized compressed kdump initramfs (#9333)
There are two issues. First, our default kdump configuration causes the kdump service to use the host's default initrd as the crashkernel environment. This can lead to issues when the default initrd size is larger than the reserved memory for the crash kernel, which is set via kernel command line at boot time.

It is common to have the kdump service instead rebuild a minimal host-specific initrd specifically for the crashkernel environment.

To change this behavior, comment out force_no_rebuild 1 from kdump.conf.

After doing this, a second issue was discovered where the system would enter the crashkernel environment when a kernel panic occurred, and successfully collect the crash dump, but upon reboot back to the normal host OS, the system would no longer boot.

This behavior was root caused to an issue in our kdumpctl command where the TARGET_INITRD was pointing to our default host initrd, thus when the kdump service would regenerate the minimal host-specific initrd, this new initrd would overwrite the host's normal initrd, therefore leading to failed normal boot.

So to fix this behavior, change TARGET_INITRD to a unique image location so kdump safely regenerates the initrd without clobbering the host's normal initrd.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-07-04 06:17:27 -07:00
Henry Beberman 52c6ea553b
kexec-tools: remove implicit perl dependency (#8698) 2024-04-04 10:20:19 -07:00
Chris Gunn de743d63b9
Remove mkinitrd script. (#8126) 2024-03-01 13:33:09 -08:00
Muhammad Falak R Wani 6359c27c2d
treewide: *.spec: switch Distribution to Azure Linux (#7606)
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-02-06 12:14:23 -08:00
Elaheh Dehghani 1cf43209a5
Upgrade makedumpfile from kexec-tools package (#7369) 2024-01-25 10:14:03 -08:00
Cameron E Baird 93a96b7c15
feat: Add kexec-tools crashkernel configuration for mkconfig flow (#6281) 2023-12-07 13:52:33 -08:00
nicolas guibourge c732954ec0
[mariner 3.0] spec upgrades - batch1 (#6646)
Co-authored-by: CBL-Mariner Servicing Account <cblmargh@microsoft.com>
2023-12-01 20:42:59 -05:00
jslobodzian eb08b37916
Bump package version to recompile binaries with fixed gcc stack prote… (#6253)
* Bump package version to recompile binaries with fixed gcc stack protection (CVE-2023-4039)

* Bump debuginfo versions in toolchain manifests

* Bump kernel headers to match kernel

* Update SPECS/gettext/gettext.spec

Taking suggestion

Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>

* Update for code review comments

* Fix for code review comment in qt5-qtdeclarative changelog

* Fix dash version for signed spec files

---------

Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2023-09-21 17:10:15 -04:00
AZaugg 6210583a31
Fixes kdump initrd assembly + cosmetic fixes on kdumpctl (#5123)
* Required grep binary missing from initrd

The grep binary is not included in the dracut_install, however the
grep command is used in several scripts used for kdump. When enabling
kdump, Mariner no longer boots due to missing grep binary

* fix kdumpctl displays hostname help page

kdumpctl uses switches in hostname that don't exist. Replacing them
2023-03-27 12:25:21 -07:00
Andrew Phelps cc2475da05
Update packages: crash-gcore-command go-md2man kexec-tools (#2424)
* update crash-gcore-command go-md2man kexec-tools

* update go-md2man changelog

* verify license
2022-03-07 11:05:44 -08:00
jslobodzian 17b0e93e71
Merge 1.0 to dev branch
This merge brings the latest SELinux and many packages and CVE fixes from the 1.0 branch.
2021-08-19 13:46:51 -07:00
Andrew Phelps fbb71e839e
Support kernel dumps using 5.10 kernel (#662)
* update crash and kexec-tools to support printk in 5.10 kernel

* update patch files with original commits

* fix cgmanifest crash version

* cleanup
2021-02-24 17:29:35 -08:00
Pawel 92a60e14fa Adding missing license and spec origin info. 2020-08-25 11:36:03 -07:00
Mateusz Malisz 7f2c7b9369 Remove surplus kdumpctl 2020-08-11 16:05:22 -07:00
Mateusz Malisz e6e36fc1b2 Enable kdump support 2020-08-11 14:54:31 -07:00
Jon Slobodzian b877013b27 Initial CBL-Mariner commit to GitHub 2020-08-06 20:17:52 -07:00