diff --git a/kdump-1.0.3.tar.xz b/kdump-1.0.3.tar.xz deleted file mode 100644 index fbc7016..0000000 --- a/kdump-1.0.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cf1559ab78350dfe8b51f978dad54346a2b8c18b360abc3465f37d0051a72692 -size 2563852 diff --git a/kdump-1.9.2.tar.xz b/kdump-1.9.2.tar.xz new file mode 100644 index 0000000..eb8a517 --- /dev/null +++ b/kdump-1.9.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e3367c50d3983b4c1b21fd390a8bfb6b3e01ea3a5acaf3521a602203cad8bb3 +size 73844 diff --git a/kdump.changes b/kdump.changes index 2fea93e..28b60c0 100644 --- a/kdump.changes +++ b/kdump.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Wed Jun 14 22:42:43 UTC 2023 - Jiri Bohac + +- upgrade to version 1.9.2 + * adapt kdumptool to work with YaST + * wait for SMTP server to become reachable + +------------------------------------------------------------------- +Wed Jun 14 11:13:51 UTC 2023 - Jiri Bohac + +- upgrade to version 1.9.1 + * reimplement e-mail notifications + +------------------------------------------------------------------- +Thu Jun 8 16:43:28 UTC 2023 - Jiri Bohac + +- upgrade to version 1.9 + * complete rewrite of kdump-save and parts of initrd generation + * mounts are now entirely handled by dracut + * deprecated: split dumps (saving to more than one targets at once) + * deprecated: KDUMPTOOL_FLAGS option removed; original XENALLDOMAINS is now + the default, disable with MAKEDUMPFILE_OPTIONS=-X + * deprecated: notification e-mails + * deprecated: copying of the kernel image (KDUMP_COPY_KERNEL) + * FTP and SFTP are now handled by lftp, added to the spec file as Recommends: + * SSH and SFTP now support passwords provided in the URL + * fixed KDUMP_SSH_HOST_KEY, now needs to include the key type + * new KDUMP_DUMPFORMAT=raw, will save an unmodified /proc/vmcore + * the output directory name is now YYYY-MM-DD-HH-MM, i.e. the separator between + HH and MM changed + * unified default KDUMP_SAVEDIR across config, code and man to /var/crash + * ping is now used to detect network is up; disable with KDUMP_NET_TIMEOUT=0 + * all the yes/no options changed to true/false; yes/no/1/0 still accepted + * put the kdump initrd in /var/lib/kdump/initrd + * use default kernel symlink (/boot/vmlinuz) instead of kernel autodetection + * KDUMP_KERNELVER can specify an absolute path to a kernel image + * improved mkdumprd detection of changed settings + * removed all of kdumptool except the calibrate subcommand + * cleaned up dependencies (ssh now only Recommended) + ------------------------------------------------------------------- Wed May 31 08:10:21 UTC 2023 - Jiri Bohac diff --git a/kdump.spec b/kdump.spec index f0cddba..a72733a 100644 --- a/kdump.spec +++ b/kdump.spec @@ -53,7 +53,7 @@ %define dracutlibdir %{_prefix}/lib/dracut Name: kdump -Version: 1.0.3 +Version: 1.9.2 Release: 0 Summary: Kernel crash dump scripts and utilities License: GPL-2.0-or-later @@ -66,15 +66,9 @@ BuildRequires: asciidoc BuildRequires: cmake >= 3.7 BuildRequires: gcc-c++ BuildRequires: libblkid-devel -BuildRequires: libcurl-devel -BuildRequires: libelf-devel -BuildRequires: libesmtp-devel -BuildRequires: libmount-devel -BuildRequires: libxslt BuildRequires: pkgconfig BuildRequires: systemd-sysvinit BuildRequires: util-linux-systemd -BuildRequires: zlib-devel BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) #!BuildIgnore: fop @@ -95,11 +89,9 @@ BuildRequires: systemd-sysvinit BuildRequires: util-linux-systemd %endif Requires: /usr/bin/sed -Requires: curl Requires: dracut >= 047 Requires: kexec-tools Requires: makedumpfile -Requires: openssh %ifarch ppc64 ppc64le Requires: servicelog BuildRequires: servicelog @@ -111,7 +103,10 @@ PreReq: /usr/bin/mkdir PreReq: /usr/bin/rm PreReq: /usr/bin/touch Recommends: cifs-utils +Recommends: lftp Recommends: nfs-client +Recommends: openssh +Suggests: mailx # update should detect the split-off from kexec-tools Provides: kexec-tools:%{_initddir}/kdump ExcludeArch: s390 ppc %arm32 @@ -162,6 +157,7 @@ make VERBOSE=1 %cmake_install # empty directory mkdir -p %{buildroot}%{_localstatedir}/crash +mkdir -p %{buildroot}%{_localstatedir}/lib/kdump %if !%{with calibrate} # get distro_prefix-prefixed lines from calibrate.conf.all @@ -178,12 +174,12 @@ cat %{buildroot}/usr/lib/kdump/calibrate.conf %endif # symlink for init script -rm %{buildroot}%{_initddir}/boot.kdump ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rckdump %pre %service_add_pre kdump.service %service_add_pre kdump-early.service +%service_add_pre kdump-notify.service %post # change only permission if the file exists before /etc/sysconfig/kdump @@ -195,7 +191,8 @@ fi %{fillup_only -n kdump} %service_add_post kdump.service %service_add_post kdump-early.service -# ensure newly added kdump-early.service is-enabled matches prior state +%service_add_post kdump-notify.service +# ensure newly added kdump-*.service is-enabled matches prior state if [ -x %{_bindir}/systemctl ] && %{_bindir}/systemctl is-enabled kdump.service &>/dev/null ; then %{_bindir}/systemctl reenable kdump.service || : fi @@ -219,6 +216,7 @@ servicelog_notify --remove --command=/usr/lib/kdump/kdump-migrate-action.sh echo "Stopping kdump ..." %service_del_preun kdump.service %service_del_preun kdump-early.service +%service_del_preun kdump-notify.service %postun # force regeneration of kdumprd @@ -227,6 +225,7 @@ touch %{_sysconfdir}/sysconfig/kdump rm %{_localstatedir}/log/dump >/dev/null 2>&1 || true %service_del_postun kdump.service %service_del_postun kdump-early.service +%service_del_postun kdump-notify.service %files %defattr(-,root,root) @@ -236,7 +235,6 @@ rm %{_localstatedir}/log/dump >/dev/null 2>&1 || true %{_sbindir}/mkdumprd %{_mandir}/man5/kdump.5%{?ext_man} %{_mandir}/man7/kdump.7%{?ext_man} -%{_mandir}/man8/kdumptool.8%{?ext_man} %{_mandir}/man8/mkdumprd.8%{?ext_man} %{_fillupdir}/sysconfig.kdump %dir %{dracutlibdir} @@ -246,6 +244,8 @@ rm %{_localstatedir}/log/dump >/dev/null 2>&1 || true /usr/lib/kdump/* %{_unitdir}/kdump.service %{_unitdir}/kdump-early.service +%{_unitdir}/kdump-notify.service %{_sbindir}/rckdump +%dir /var/lib/kdump %changelog