Name: kexec-tools Version: 2.0.3 Release: 64%{?dist} License: GPLv2 Group: Applications/System Summary: The kexec/kdump userspace component. Source0: http://kernel.org/pub/linux/utils/kernel/kexec/%{name}-%{version}.tar.bz2 Source1: kdumpctl Source2: kdump.sysconfig Source3: kdump.sysconfig.x86_64 Source4: kdump.sysconfig.i386 Source5: kdump.sysconfig.ppc64 Source6: kdump.sysconfig.ia64 Source7: mkdumprd Source8: kdump.conf Source9: http://downloads.sourceforge.net/project/makedumpfile/makedumpfile/1.5.1/makedumpfile-1.5.1.tar.gz Source10: kexec-kdump-howto.txt Source11: firstboot_kdump.py Source12: mkdumprd.8 Source13: kexec-tools-po.tar.gz Source14: 98-kexec.rules Source15: kdump.conf.5 Source16: kdump.service Source17: rhcrashkernel-param Source18: kdump.sysconfig.s390x ####################################### # These are sources for mkdumpramfs # Which is currently in development ####################################### Source100: dracut-kdump.sh Source101: dracut-module-setup.sh Source102: dracut-monitor_dd_progress Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units Requires(pre): coreutils sed zlib Requires: dracut, dracut-network BuildRequires: zlib-devel zlib zlib-static elfutils-devel-static glib2-devel bzip2-devel BuildRequires: pkgconfig intltool gettext BuildRequires: systemd-units %ifarch %{ix86} x86_64 ppc64 ia64 ppc s390x Obsoletes: diskdumputils netdump %endif #START INSERT # # Patches 0 through 100 are meant for x86 kexec-tools enablement # Patch001: kexec-tools-2.0.3-Load-bzImages-smaller-than-32-KiB.patch Patch002: kexec-tools-2.0.3-kdump-pass-acpi_rsdp-to-2nd-kernel-for-efi-booting.patch # # Patches 101 through 200 are meant for x86_64 kexec-tools enablement # # # Patches 201 through 300 are meant for ia64 kexec-tools enablement # # # Patches 301 through 400 are meant for ppc64 kexec-tools enablement # Patch301: kexec-tools-2.0.3-ppc-ppc64-compile-purgatory-code-with-gcc-option-msoft-float.patch # # Patches 401 through 500 are meant for s390 kexec-tools enablement # # # Patches 501 through 600 are meant for ppc kexec-tools enablement # Patch501: kexec-tools-2.0.3-ppc-exec-stack-fix.patch # # Patches 601 onward are generic patches # Patch601: kexec-tools-2.0.3-disable-kexec-test.patch Patch602: kexec-tools-2.0.3-vmcore-dmesg-Do-not-write-beyond-end-of-buffer.patch Patch603: kexec-tools-2.0.3-vmcore-dmesg-vmcore-dmesg-Make-it-work-with-new-stru.patch %description kexec-tools provides /sbin/kexec binary that facilitates a new kernel to boot using the kernel's kexec feature either on a normal or a panic reboot. This package contains the /sbin/kexec binary and ancillary utilities that together form the userspace component of the kernel's kexec feature. %prep %setup -q mkdir -p -m755 kcp tar -z -x -v -f %{SOURCE9} %patch001 -p1 %patch002 -p1 %patch301 -p1 %patch501 -p1 %patch601 -p1 %patch602 -p1 %patch603 -p1 tar -z -x -v -f %{SOURCE13} %ifarch ppc %define archdef ARCH=ppc %endif %build %ifarch ia64 # ia64 gcc seems to have a problem adding -fexception -fstack-protect and # -param ssp-protect-size, like the %configure macro does # while that shouldn't be a problem, and it still builds fine, it results in # the kdump kernel hanging on kexec boot. I don't yet know why, but since those # options aren't critical, I'm just overrideing them here for ia64 export CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2" %endif %configure \ %ifarch ppc64 --host=powerpc64-redhat-linux-gnu \ --build=powerpc64-redhat-linux-gnu \ %endif --sbindir=/sbin rm -f kexec-tools.spec.in # setup the docs cp %{SOURCE10} . make %ifarch %{ix86} x86_64 ia64 ppc64 s390x make -C makedumpfile-1.5.1 LINKTYPE=dynamic %endif make -C kexec-tools-po %install make install DESTDIR=$RPM_BUILD_ROOT mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig mkdir -p -m755 $RPM_BUILD_ROOT%{_localstatedir}/crash mkdir -p -m755 $RPM_BUILD_ROOT%{_mandir}/man8/ mkdir -p -m755 $RPM_BUILD_ROOT%{_mandir}/man5/ mkdir -p -m755 $RPM_BUILD_ROOT%{_docdir} mkdir -p -m755 $RPM_BUILD_ROOT%{_datadir}/kdump mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d mkdir -p $RPM_BUILD_ROOT%{_unitdir} mkdir -p -m755 $RPM_BUILD_ROOT%{_bindir} install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/kdumpctl SYSCONFIG=$RPM_SOURCE_DIR/kdump.sysconfig.%{_target_cpu} [ -f $SYSCONFIG ] || SYSCONFIG=$RPM_SOURCE_DIR/kdump.sysconfig.%{_arch} [ -f $SYSCONFIG ] || SYSCONFIG=$RPM_SOURCE_DIR/kdump.sysconfig install -m 644 $SYSCONFIG $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/kdump install -m 755 %{SOURCE7} $RPM_BUILD_ROOT/sbin/mkdumprd install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/kdump.conf install -m 644 kexec/kexec.8 $RPM_BUILD_ROOT%{_mandir}/man8/kexec.8 install -m 755 %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/kdump/firstboot_kdump.py install -m 644 %{SOURCE12} $RPM_BUILD_ROOT%{_mandir}/man8/mkdumprd.8 install -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/98-kexec.rules install -m 644 %{SOURCE15} $RPM_BUILD_ROOT%{_mandir}/man5/kdump.conf.5 install -m 644 %{SOURCE16} $RPM_BUILD_ROOT%{_unitdir}/kdump.service mkdir -p $RPM_BUILD_ROOT/usr/sbin install -m 755 %{SOURCE17} $RPM_BUILD_ROOT/usr/sbin/rhcrashkernel-param %ifarch %{ix86} x86_64 ia64 ppc64 s390x install -m 755 makedumpfile-1.5.1/makedumpfile $RPM_BUILD_ROOT/sbin/makedumpfile install -m 644 makedumpfile-1.5.1/makedumpfile.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/makedumpfile.8.gz %endif make -C kexec-tools-po install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %define remove_dracut_prefix() %(echo -n %1|sed 's/.*dracut-//g') # deal with dracut modules mkdir -p -m755 $RPM_BUILD_ROOT/etc/kdump-adv-conf/kdump_dracut_modules/99kdumpbase cp %{SOURCE100} $RPM_BUILD_ROOT/etc/kdump-adv-conf/kdump_dracut_modules/99kdumpbase/%{remove_dracut_prefix %{SOURCE100}} cp %{SOURCE101} $RPM_BUILD_ROOT/etc/kdump-adv-conf/kdump_dracut_modules/99kdumpbase/%{remove_dracut_prefix %{SOURCE101}} cp %{SOURCE102} $RPM_BUILD_ROOT/etc/kdump-adv-conf/kdump_dracut_modules/99kdumpbase/%{remove_dracut_prefix %{SOURCE102}} chmod 755 $RPM_BUILD_ROOT/etc/kdump-adv-conf/kdump_dracut_modules/99kdumpbase/%{remove_dracut_prefix %{SOURCE100}} chmod 755 $RPM_BUILD_ROOT/etc/kdump-adv-conf/kdump_dracut_modules/99kdumpbase/%{remove_dracut_prefix %{SOURCE101}} %define dracutlibdir %{_prefix}/lib/dracut #and move the custom dracut modules to the dracut directory mkdir -p $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/ mv $RPM_BUILD_ROOT/etc/kdump-adv-conf/kdump_dracut_modules/* $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/ %post if [ $1 -eq 1 ] ; then # Initial installation /bin/systemctl enable kdump.service >/dev/null 2>&1 || : fi touch /etc/kdump.conf # This portion of the script is temporary. Its only here # to fix up broken boxes that require special settings # in /etc/sysconfig/kdump. It will be removed when # These systems are fixed. if [ -d /proc/bus/mckinley ] then # This is for HP zx1 machines # They require machvec=dig on the kernel command line sed -e's/\(^KDUMP_COMMANDLINE_APPEND.*\)\("$\)/\1 machvec=dig"/' \ /etc/sysconfig/kdump > /etc/sysconfig/kdump.new mv /etc/sysconfig/kdump.new /etc/sysconfig/kdump elif [ -d /proc/sgi_sn ] then # This is for SGI SN boxes # They require the --noio option to kexec # since they don't support legacy io sed -e's/\(^KEXEC_ARGS.*\)\("$\)/\1 --noio"/' \ /etc/sysconfig/kdump > /etc/sysconfig/kdump.new mv /etc/sysconfig/kdump.new /etc/sysconfig/kdump fi %postun /bin/systemctl daemon-reload >/dev/null 2>&1 || : if [ $1 -ge 1 ] ; then # Package upgrade, not uninstall /bin/systemctl try-restart kdump.service >/dev/null 2>&1 || : fi %preun if [ $1 -eq 0 ] ; then # Package removal, not upgrade /bin/systemctl --no-reload disable kdump.service > /dev/null 2>&1 || : /bin/systemctl stop kdump.service > /dev/null 2>&1 || : fi %triggerun -- kexec-tools < 2.0.2-3 # Save the current service runlevel info # User must manually run systemd-sysv-convert --apply kdump # to migrate them to systemd targets /usr/bin/systemd-sysv-convert --save kdump >/dev/null 2>&1 ||: # Run these because the SysV package being removed won't do them /sbin/chkconfig --del kdump >/dev/null 2>&1 || : /bin/systemctl try-restart kdump.service >/dev/null 2>&1 || : %triggerin -- firstboot # we enable kdump everywhere except for paravirtualized xen domains; check here if [ -f /proc/xen/capabilities ]; then if [ -z `grep control_d /proc/xen/capabilities` ]; then exit 0 fi fi if [ ! -e %{_datadir}/firstboot/modules/firstboot_kdump.py ] then ln -s %{_datadir}/kdump/firstboot_kdump.py %{_datadir}/firstboot/modules/firstboot_kdump.py fi %triggerin -- kernel-kdump touch %{_sysconfdir}/kdump.conf %triggerun -- firstboot rm -f %{_datadir}/firstboot/modules/firstboot_kdump.py %triggerpostun -- kernel kernel-xen kernel-debug kernel-PAE kernel-kdump # List out the initrds here, strip out version nubmers # and search for corresponding kernel installs, if a kernel # is not found, remove the corresponding kdump initrd #start by getting a list of all the kdump initrds MY_ARCH=`uname -m` if [ "$MY_ARCH" == "ia64" ] then IMGDIR=/boot/efi/efi/redhat else IMGDIR=/boot fi for i in `ls $IMGDIR/initrd*kdump.img 2>/dev/null` do KDVER=`echo $i | sed -e's/^.*initrd-//' -e's/kdump.*$//'` if [ ! -e $IMGDIR/vmlinuz-$KDVER ] then # We have found an initrd with no corresponding kernel # so we should be able to remove it rm -f $i fi done %files -f %{name}.lang /sbin/* /usr/sbin/* %{_bindir}/* %{_datadir}/kdump %config(noreplace,missingok) %{_sysconfdir}/sysconfig/kdump %config(noreplace,missingok) %{_sysconfdir}/kdump.conf %config %{_sysconfdir}/udev/rules.d/* %{dracutlibdir}/modules.d/* %dir %{_localstatedir}/crash %{_mandir}/man8/* %{_mandir}/man5/* %{_unitdir}/kdump.service %doc News %doc COPYING %doc TODO %doc kexec-kdump-howto.txt %changelog * Fri Jan 4 2013 Dave Young - 2.0.3-64 - fix issue of exec on stack for ppc32 * Fri Dec 21 2012 Dave Young - 2.0.3-63 - revert explictly handling of PIPESTATUS - enable pipefail bash option - wrong ssh key fix - build fix: Update 3 po files: po/gu.po po/or.po po/zh_CN.po * Fri Dec 21 2012 Dave Young - 2.0.3-62 - Pull translated po files from zanata - Optimize redundent code fetching server of network dump - change the dump dir format to be more readable * Wed Dec 12 2012 Dave Young - 2.0.3-61 - firstboot:fix reserve mem ui spinbox step size - handle readonly mounted filesystem * Mon Dec 10 2012 Dave Young - 2.0.3-60 - makedumpfile 1.5.1 - Update po tar.gz - Add a notes for zanata process - Add two xmls file for po zanata translation - Cleanup and recreate po files * Fri Nov 16 2012 Dave Young - 2.0.3-59 - Enable kdump service after installation - get MEM_RESERVED from sysfs attribute - get_ssh_size: use -n to redirect stdin from /dev/null - add random feeding code for ssh dump - kdump option space checking improvement - kdumpctl: multi dump target checking fix * Thu Oct 25 2012 Dave Young - 2.0.3-58 - pull in two upstream patches * Thu Oct 11 2012 Dave Young - 2.0.3-57 - improve persistent name handling * Sat Sep 29 2012 Dave Young - 2.0.3-56 - Pull vmcore-dmesg patches from vivek - ppc/ppc64: compile purgatory with gcc option msoft-float - Update to support f18 grub2 efi config file - pass persistent name to dracut --device - pass persistent name to dracut --mount - use persistent name in kdump.conf of initramfs - mkdumprd: add function get_persistent_dev - remove useless uuid and label handling * Thu Sep 06 2012 Dave Young - 2.0.3-55 - doc fix for mount dump target before mkdumprd - pull makedumpfile 1.5.0 * Wed Aug 29 2012 Dave Young - 2.0.3-54 - pass raw device as dracut argument - iscsi setup fix - firstboot: add automatic and manual memory reservation for rhel - firstboot: remove unnecessary underline shortkey - firstboot: fix gtk warning about non-zero page size - firstboot: update all kernels config in grubbyCmd - firstboot: add actual reserved memory widget - firstboot code cleanup - rhcrashkernel-param: echo crashkernel=auto for rhel7 - Remove the kernel-kdump handling - s390x firstboot fix - remove elilo support - grub2 fix in firstboot - Take closing the reboot dialog as no - Handle new crashkernel= syntax in firstboot - Fix a localized string in firstboot - Configure kdump in firstboot - fix firstboot to ensure kdump svc is disabled properly - firstboot text domain fix - Update to use systemctl instead of sysv chkconfig - port force_rebuild kdump.conf option - Change return value to indicate the result of dump_raw() correctly. - call dracut function for default shell * Mon Jul 23 2012 Dave Young - 2.0.3-53 - refactor net option - use fstab-sys to mount nfs - rename function dump_localfs - dump_localfs error path fix - update kexec-kdump-howto.txt about systemctl commands - ssh propagate alert message fix - remove useless dracut cmdline '-c /dev/null' - remove useless dracut cmdline for kernel-modules and kdumpbase - install core_collector in module-setup.sh - install extra_bins in module-setup.sh - remove busybox dependency - improve warning message of space checking - do not mount root twice - do not add fstab-sys module in dracut cmdline - omit dash module - network dns config fix - shell exit value fix * Thu Jul 19 2012 Fedora Release Engineering - 2.0.3-52 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jul 5 2012 Dave Young - 2.0.3-51 - add s390x netdev setup - Add s390x support - Cleanup temp file leaved at /tmp/ - add check_size function for fs dump - add ssh check_size - blacklist patch apply fix - Respect bonding mode - Support dump over vlan tagged bonding * Fri Jun 22 2012 Dave Young - 2.0.3-50 - add blacklist option, Resolves: bz805774 - Add kdump_post and kdump_pre support, Resolves: bz805773 - Port check_config from rhel6, Resolves: bz805778 - raw core_collector fix - ssh core_collector fix - drcut-kdump.sh: cleanup kdump.conf check * Tue Jun 12 2012 Dave Young - 2.0.3-49 - cleanup DUMP_INSTRUCTION handling - final reboot behavior fix - dump_rootfs for default target fix - add vlan support - fix and refactor bond handling code - fix and refactor bridge handling code - core_collector doc basic fix - omit plymouth module, Resolves: bz821997 - mkdumprd manpage cleanup manpage - mkdumprd: remove --debug - mkdumprd: remove noconf - makedumprd: remove -d - kdump.conf add sshkey - kdump.conf remove disk_timeout - kdump.conf make path uncommented - kdump.conf.5 add default poweroff - kdump.conf default shell fix - kdump.conf default default action fix - kdump.conf.5 remove module option - kdump.conf remove kdump_pre/kdump_post - kdump.conf: remove link_delay * Mon May 28 2012 Dave Young - 2.0.3-48 - do_default_action cleanup, Resolves: bz805773 - add rhcrashkernel-param for anaconda use, Resolves: bz707441 - Basic iscsi target dump support (software initiator), Resolves bz822701 - Static ip configuratio support, Resolves: bz822739 - udev rules fix, Resolves: bz808817 * Thu May 3 2012 Dave Young - 2.0.3-47 - remove dracut-files.tgz2 * Wed May 2 2012 Dave Young - 2.0.3-46 - mkdumprd: Start using --hostonly and --add kdumpbase while calling dracut - get_mp function cleanup - move kdump script order to the end of pre pivot - port raw dump from rhel6 - remove multi dump * Mon Apr 23 2012 Dave Young - 2.0.3-45 - update dracut-files.tbz2 * Thu Apr 19 2012 Dave Young - 2.0.3-44 - update ppc64 sysconfig, resolve bug 811449 - deal with nic rename issue, resolve bug 810107 - update x86_64 sysconfig, resolve bug 813711 * Wed Apr 11 2012 Cong Wang - 2.0.3-43 - variable name fix from Dave Young. * Fri Mar 30 2012 Cong Wang - 2.0.3-42 - get ip addr with getent - spec: depends on dracut-network - Handle net option for nfs in kdump.conf correctly * Mon Feb 27 2012 Cong Wang - 2.0.3-41 - Bump this version. * Wed Feb 22 2012 Cong Wang - 2.0.2-40 - Fixup sysytemd service file. * Wed Feb 22 2012 Dave Young - 2.0.2-39 - Add ssh dump support, resolve bug 789253. * Fri Jan 27 2012 Cong Wang - 2.0.2-38 - Pull the latest makedumpfile release, 1.4.2. * Fri Jan 27 2012 Cong Wang - 2.0.2-37 - Add initial NFS dump support, experimental. * Wed Jan 25 2012 Cong Wang - 2.0.2-36 - Really upload the dracut module. * Wed Jan 25 2012 Cong Wang - 2.0.2-35 - Fix various bugs for nfs dump. * Wed Jan 25 2012 Cong Wang - 2.0.2-34 - kdump.sh cleanup for fstab handling, from Dave Young. * Wed Jan 25 2012 Cong Wang - 2.0.2-33 - Handle rootfs correctly. * Tue Jan 10 2012 Cong Wang - 2.0.2-32 - Fix add_dracut_arg in mkdumprd. * Tue Jan 10 2012 Cong Wang - 2.0.2-31 - Update kdump dracut module with the latest dracut kdump branch. * Fri Dec 16 2011 Cong Wang - 2.0.2-30 - Update kdump dracut module to use the latest dracut feature. * Fri Sep 9 2011 Tom Callaway - 2.0.2-29 - fix systemd scriptlets * Wed Sep 7 2011 Cong Wang - 2.0.2-28 - Rename mkdumprd2 to mkdumpramfs. * Wed Aug 31 2011 Cong Wang - 2.0.2-27 - Add debug_mem_level debugging option, from Jan Stancek. Resolve Bug 731395. * Mon Aug 15 2011 Cong Wang - 2.0.2-26 - Fix several issues caused by the previous revert. * Mon Aug 15 2011 Cong Wang - 2.0.2-25 - Switch back to old mkdumprd and also keep the new one. * Tue Aug 2 2011 Cong Wang - 2.0.2-24 - Fix default action handling. * Tue Aug 2 2011 Cong Wang - 2.0.2-23 - Install modified kdump.conf in initrd. * Tue Aug 2 2011 Cong Wang - 2.0.2-22 - Handle lvm in pre-pivot hook. * Tue Aug 2 2011 Cong Wang - 2.0.2-21 - Fix udev rules in module-setup.sh * Mon Aug 1 2011 Cong Wang - 2.0.2-20 - Generate udev rules in module-setup.sh * Mon Aug 1 2011 Cong Wang - 2.0.2-19 - Generate udev rules to handle device names. * Mon Aug 1 2011 Cong Wang - 2.0.2-18 - Fix dump to local filesystem and raw dump. * Mon Aug 1 2011 Cong Wang - 2.0.2-17 - Depend on dracut-network. * Mon Aug 1 2011 Cong Wang - 2.0.2-16 - Move dracut module detection code to module-setup.sh. * Wed Jul 28 2011 Cong Wang - 2.0.2-15 - Use shutdown module of dracut to handle reboot/shutdown/halt. * Wed Jul 27 2011 Cong Wang - 2.0.2-14 - Wait for loginit. * Wed Jul 27 2011 Cong Wang - 2.0.2-13 - Use absolute path of reboot/halt/poweroff. * Wed Jul 27 2011 Cong Wang - 2.0.2-12 - Don't use consolehelper, use real reboot/halt/poweroff. * Wed Jul 27 2011 Cong Wang - 2.0.2-11 - Rename initrd to initramfs. * Wed Jul 27 2011 Cong Wang - 2.0.2-10 - Don't depend on busybox, as it doesn't save much space. * Tue Jul 26 2011 Cong Wang - 2.0.2-9 - Parse default action. * Mon Jul 25 2011 Cong Wang - 2.0.2-8 - Move path/core_collector/default parsing code to initrd. * Mon Jul 25 2011 Cong Wang - 2.0.2-7 - Remove obsolete code in kdumpctl. * Mon Jul 25 2011 Cong Wang - 2.0.2-6 - Support core_collector and extran_bins. * Thu Jul 21 2011 Cong Wang - 2.0.2-5 - Bypass '-d' option. * Thu Jul 21 2011 Cong Wang - 2.0.2-4 - Update initramfs infrastructure to make it working with dracut. * Wed Jul 06 2011 Neil Horman - 2.0.2-3 - Removed sysv init script from package * Mon Jul 04 2011 Neil Horman - 2.0.2-2 - Added systemd unit file (bz 716994) * Fri Jun 24 2011 Neil Horman - 2.0.2-1 - Updated to upstream version 2.0.2 * Mon Jun 02 2011 Neil Horman - 2.0.0-47 - Fixed misuse of readlink command after directory change (bz 710744) * Tue Apr 26 2011 Neil Horman - 2.0.0-46 - Fix some grammer in man page (bz 673817) * Mon Mar 28 2011 Neil Horman - 2.0.0-45 - Fix misuse of basename in mkdumprd (bz 683769) * Thu Mar 10 2011 Neil Horman - 2.0.0-44 - Fix build break in purgatory makefile * Thu Mar 10 2011 Neil Horman - 2.0.0-43 - Remove vestigual emitdms code and call from mkdumprd * Mon Feb 07 2011 Fedora Release Engineering - 2.0.0-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Oct 22 2010 Neil Horman - 2.0.0-41 - Fixed dhcp retry mechanism (bz 645734) * Wed Sep 29 2010 jkeating - 2.0.0-40 - Rebuilt for gcc bug 634757 * Wed Sep 22 2010 Neil Horman - 2.0.0-39 - fix finding modalias/mkdumprd hang (bz 635893) * Wed Aug 11 2010 David Malcolm - 2.0.0-38 - recompiling .py files against Python 2.7 (rhbz#623327) * Sun Jun 13 2010 Lubomir Rintel - 2.0.0-37 - Fix a syntax error in kdump init script * Sun Jun 13 2010 Lubomir Rintel - 2.0.0-36 - Cosmetic mkdumprd fixes (drop an unused function, streamline another) * Sat May 29 2010 CAI Qian - 2.0.0-35 - Forward-port from F13 - Fixed kernel text area search in kcore (bz 587750) * Sat May 29 2010 CAI Qian - 2.0.0-34 - Massive forward-port from RHEL6 - Update kexec-kdump-howto.txt - Update docs to reflect use of ext4 - Update mkdumprd to pull in all modules needed - Fix mkdumprd typo - Removed universal add of ata_piix from mkdumprd - Fix infinite loop from modprobe changes - Fixed kexec-kdump-howto.doc for RHEL6 - Update makedumpfile to 1.3.5 - Improved mkdumprd run time - Cai's fix for broken regex - Fixing crashkernel syntax parsing - Fix initscript to return proper LSB return codes - Fixed bad call to resolve_dm_name - Added poweroff option to mkdumprd - Fixed readlink issue - Fixed x86_64 page_offset specifictaion - Fixed lvm setup loop to not hang - Added utsname support to makedumpfile for 2.6.32 - Fix critical_disks list to exclude cciss/md - Add help info for -b option - Add ability to handle firmware hotplug events - Update mkdumprd to deal with changes in busybox fsck - Vitaly's fix to detect need for 64 bit elf - Fix major/minor numbers on /dev/rtc - Fix ssh id propogation w/ selinux - Add blacklist feature to kdump.conf - Removed rhpl code from firstboot - Fixed firstboot enable sense - Remove bogus debug comment from mkdumprd. - Handle SPARSEMEM properly - Fix scp monitoring script - Fix firstboot to find grub on EFI systems - Fixed mkdumprd to remove dup insmod - Fixed kdump fsck pause - Fixed kdump option handling - fixed raid5 module detection * Thu Mar 11 2010 Neil Horman - 2.0.0-33 - Remove nash references from mkdumprd * Wed Feb 17 2010 Neil Horman - 2.0.0-32 - Fixed spec file error * Wed Feb 17 2010 Neil Horman - 2.0.0-31 - Adding kdump.conf man page - Adding disk timeout parameter (bz 566135) * Tue Dec 01 2009 Neil Horman - 2.0.0-30 - Fix raid support in mkdumprd (bz 519767) * Mon Nov 23 2009 Neil Horman - 2.0.0-29 - Updating firstboot script to RHEL-6 version (bz 539812) * Fri Nov 06 2009 Neil Horman - 2.0.0-28 - Added abrt infrastructure to kdump init script (bz 533370) * Tue Sep 15 2009 Neil Horman - 2.0.0-27 - Fixing permissions on dracut module files * Fri Sep 11 2009 Neil Horman - 2.0.0-26 - Rebuild for translation team (bz 522415) * Thu Sep 10 2009 Neil Horman - 2.0.0-25 - Fix dracut module check file (bz 522486) * Thu Aug 13 2009 Neil Horman - 2.0.0-24 - update kdump adv conf init script & dracut module * Wed Jul 29 2009 Neil Horman - 2.0,0-23 - Remove mkdumprd2 and start replacement with dracut * Fri Jul 24 2009 Fedora Release Engineering - 2.0.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Jul 06 2009 Neil Horman 2.0.0-21 - Fixed build break * Mon Jul 06 2009 Neil Horman 2.0.0-20 - Make makedumpfile a dynamic binary * Mon Jul 06 2009 Neil Horman 2.0.0-19 - Fix build issue * Mon Jul 06 2009 Neil Horman 2.0.0-18 - Updated initscript to use mkdumprd2 if manifest is present - Updated spec to require dash - Updated sample manifest to point to correct initscript - Updated populate_std_files helper to fix sh symlink * Mon Jul 06 2009 Neil Horman 2.0.0-17 - Fixed mkdumprd2 tarball creation * Wed Jun 23 2009 Neil Horman 2.0.0-16 - Fix up kdump so it works with latest firstboot * Mon Jun 15 2009 Neil Horman 2.0.0-15 - Fixed some stat drive detect bugs by E. Biederman (bz505701) * Wed May 20 2009 Neil Horman 2.0.0-14 - Put early copy of mkdumprd2 out in the wild (bz 466392) * Fri May 08 2009 Neil Horman - 2.0.0-13 - Update makedumpfile to v 1.3.3 (bz 499849) * Tue Apr 07 2009 Neil Horman - 2.0.0-12 - Simplifed rootfs mounting code in mkdumprd (bz 494416) * Sun Apr 05 2009 Lubomir Rintel - 2.0.0-11 - Install the correct configuration for i586 * Fri Apr 03 2009 Neil Horman - 2.0.0-10 - Fix problem with quoted CORE_COLLECTOR string (bz 493707) * Thu Apr 02 2009 Orion Poplawski - 2.0.0-9 - Add BR glibc-static * Wed Feb 25 2009 Fedora Release Engineering - 2.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Dec 04 2008 Ignacio Vazquez-Abrams - 2.0.0-7 - Rebuild for Python 2.6 * Mon Dec 01 2008 Neil Horman - 2.0.0.6 - adding makedumpfile man page updates (bz 473212) * Mon Dec 01 2008 Ignacio Vazquez-Abrams - 2.0.0-5 - Rebuild for Python 2.6 * Wed Nov 05 2008 Neil Horman - 2.0.0-3 - Correct source file to use proper lang package (bz 335191) * Wed Oct 29 2008 Neil Horman - 2.0.0-2 - Fix mkdumprd typo (bz 469001) * Mon Sep 15 2008 Neil Horman - 2.0.0-2 - Fix sysconfig files to not specify --args-linux on x86 (bz 461615) * Wed Aug 27 2008 Neil Horman - 2.0.0-1 - Update kexec-tools to latest upstream version * Wed Aug 27 2008 Neil Horman - 1.102pre-16 - Fix mkdumprd to properly use UUID/LABEL search (bz 455998) * Tue Aug 5 2008 Tom "spot" Callaway - 1.102pre-15 - fix license tag * Mon Jul 28 2008 Neil Horman - 1.102pre-14 - Add video reset section to docs (bz 456572) * Mon Jul 11 2008 Neil Horman - 1.102pre-13 - Fix mkdumprd to support dynamic busybox (bz 443878) * Wed Jun 11 2008 Neil Horman - 1.102pre-12 - Added lvm to bin list (bz 443878) * Thu Jun 05 2008 Neil Horman - 1.102pre-11 - Update to latest makedumpfile from upstream - Mass import of RHEL fixes missing in rawhide * Thu Apr 24 2008 Neil Horman - 1.102pre-10 - Fix mkdumprd to properly pull in libs for lvm/mdadm (bz 443878) * Wed Apr 16 2008 Neil Horman - 1.102pre-9 - Fix cmdline length issue * Tue Mar 25 2008 Neil Horman - 1.102pre-8 - Fixing ARCH definition for bz 438661 * Mon Mar 24 2008 Neil Horman - 1.102pre-7 - Adding patches for bz 438661 * Fri Feb 22 2008 Neil Horman - 1.102pre-6 - Bringing rawhide up to date with bugfixes from RHEL5 - Adding patch to prevent kexec buffer overflow on ppc (bz 428684) * Tue Feb 19 2008 Neil Horman - 1.102pre-5 - Modifying mkdumprd to include dynamic executibles (bz 433350) * Wed Feb 12 2008 Neil Horman - 1.102pre-4 - bumping rev number for rebuild * Wed Jan 02 2008 Neil Horman - 1.102pre-3 - Fix ARCH placement in kdump init script (bz 427201) - Fix BuildRequires - Fix Makedumpfile to build with new libelf * Mon Oct 01 2007 Neil Horman - 1.102pre-2 - Fix triggerpostun script (bz 308151) * Mon Aug 30 2007 Neil Horman - 1.102pre-1 - Bumping kexec version to latest horms tree (bz 257201) - Adding trigger to remove initrds when a kernel is removed * Wed Aug 22 2007 Neil Horman - 1.101-81 - Add xen-syms patch to makedumpfile (bz 250341) * Wed Aug 22 2007 Neil Horman - 1.101-80 - Fix ability to determine space on nfs shares (bz 252170) * Tue Aug 21 2007 Neil Horman - 1.101-79 - Update kdump.init to always create sparse files (bz 253714) * Fri Aug 10 2007 Neil Horman - 1.101-78 - Update init script to handle xen kernel cmdlnes (bz 250803) * Wed Aug 01 2007 Neil Horman - 1.101-77%{dist} - Update mkdumprd to suppres notifications /rev makedumpfile (bz 250341) * Thu Jul 19 2007 Neil Horman - 1.101-76%{dist} - Fix mkdumprd to suppress informative messages (bz 248797) * Wed Jul 18 2007 Neil Horman - 1.101-75%{dist} - Updated fr.po translations (bz 248287) * Mon Jul 17 2007 Neil Horman - 1.101-74%{dist} - Fix up add_buff to retry locate_hole on segment overlap (bz 247989) * Mon Jul 09 2007 Neil Horman - 1.101-73%{dist} - Fix up language files for kexec (bz 246508) * Thu Jul 05 2007 Neil Horman - 1.101-72%{dist} - Fixing up initscript for LSB (bz 246967) * Tue Jun 19 2007 Neil Horman - 1.101-71%{dist} - Fixed conflict in mkdumprd in use of /mnt (bz 222911) * Mon Jun 18 2007 Neil Horman - 1.101-70%{dist} - Fixed kdump.init to properly read cmdline (bz 244649) * Wed Apr 11 2007 Neil Horman - 1.101-69%{dist} - Fixed up kdump.init to enforce mode 600 on authorized_keys2 (bz 235986) * Tue Apr 10 2007 Neil Horman - 1.101-68%{dist} - Fix alignment of bootargs and device-tree structures on ppc64 * Tue Apr 10 2007 Neil Horman - 1.101-67%{dist} - Allow ppc to boot ppc64 kernels (bz 235608) * Tue Apr 10 2007 Neil Horman - 1.101-66%{dist} - Reduce rmo_top to 0x7c000000 for PS3 (bz 235030) * Mon Mar 26 2007 Neil Horman - 1.101-65%{dist} - Fix spec to own kexec_tools directory (bz 219035) * Wed Mar 21 2007 Neil Horman - 1.101-64%{dist} - Add fix for ppc memory region computation (bz 233312) * Thu Mar 15 2007 Neil Horman - 1.101-63%{dist} - Adding extra check to avoid oom kills on nfs mount failure (bz 215056) * Tue Mar 06 2007 Neil Horman - 1.101-62%{dist} - Updating makedumpfile to version 1.1.1 (bz 2223743) * Mon Feb 22 2007 Neil Horman - 1.101-61%{dist} - Adding multilanguage infrastructure to firstboot_kdump (bz 223175) * Mon Feb 12 2007 Neil Horman - 1.101-60%{dist} - Fixing up file permissions on kdump.conf (bz 228137) * Fri Feb 09 2007 Neil Horman - 1.101-59%{dist} - Adding mkdumprd man page to build * Wed Jan 25 2007 Neil Horman - 1.101-58%{dist} - Updating kdump.init and mkdumprd with most recent RHEL5 fixes - Fixing BuildReq to require elfutils-devel-static * Thu Jan 04 2007 Neil Horman - 1.101-56%{dist} - Fix option parsing problem for bzImage files (bz 221272) * Fri Dec 15 2006 Neil Horman - 1.101-55%{dist} - Wholesale update of RHEL5 revisions 55-147 * Tue Aug 29 2006 Neil Horman - 1.101-54%{dist} - integrate default elf format patch * Tue Aug 29 2006 Neil Horman - 1.101-53%{dist} - Taking Viveks x86_64 crashdump patch (rcv. via email) * Tue Aug 29 2006 Neil Horman - 1.101-52%{dist} - Taking ia64 tools patch for bz 181358 * Mon Aug 28 2006 Neil Horman - 1.101-51%{dist} - more doc updates - added patch to fix build break from kernel headers change * Thu Aug 24 2006 Neil Horman - 1.101-50%{dist} - repo patch to enable support for relocatable kernels. * Thu Aug 24 2006 Neil Horman - 1.101-49%{dist} - rewriting kcp to properly do ssh and scp - updating mkdumprd to use new kcp syntax * Wed Aug 23 2006 Neil Horman - 1.101-48%{dist} - Bumping revision number * Tue Aug 22 2006 Jarod Wilson - 1.101-47%{dist} - ppc64 no-more-platform fix * Mon Aug 21 2006 Jarod Wilson - 1.101-46%{dist} - ppc64 fixups: - actually build ppc64 binaries (bug 203407) - correct usage output - avoid segfault in command-line parsing - install kexec man page - use regulation Fedora BuildRoot * Fri Aug 18 2006 Neil Horman - 1.101-45%{dist} - fixed typo in mkdumprd for bz 202983 - fixed typo in mkdumprd for bz 203053 - clarified docs in kdump.conf with examples per bz 203015 * Tue Aug 15 2006 Neil Horman - 1.101-44%{dist} - updated init script to implement status function/scrub err messages * Wed Aug 09 2006 Jarod Wilson - 1.101-43%{dist} - Misc spec cleanups and macro-ifications * Wed Aug 09 2006 Jarod Wilson - 1.101-42%{dist} - Add %dir /var/crash, so default kdump setup works * Thu Aug 03 2006 Neil Horman - 1.101-41%{dist}.1 - fix another silly makefile error for makedumpfile * Thu Aug 03 2006 Neil Horman - 1.101-40%{dist}.1 - exclude makedumpfile from build on non-x86[_64] arches * Thu Aug 03 2006 Neil Horman - 1.101-39%{dist}.1 - exclude makedumpfile from build on non-x86[_64] arches * Thu Aug 03 2006 Neil Horman - 1.101-38%{dist}.1 - updating makedumpfile makefile to use pkg-config on glib-2.0 * Thu Aug 03 2006 Neil Horman - 1.101-37%{dist}.1 - updating makedumpfile makefile to use pkg-config * Thu Aug 03 2006 Neil Horman - 1.101-36%{dist}.1 - Removing unneeded deps after Makefile fixup for makedumpfile * Thu Aug 03 2006 Neil Horman - 1.101-35%{dist}.1 - fixing up FC6/RHEL5 BuildRequires line to build in brew * Wed Aug 02 2006 Neil Horman - 1.101-34%{dist}.1 - enabling makedumpfile in build * Wed Aug 02 2006 Neil Horman - 1.101-33%{dist}.1 - added makedumpfile source to package * Mon Jul 31 2006 Neil Horman - 1.101-32%{dist}.1 - added et-dyn patch to allow loading of relocatable kernels * Thu Jul 27 2006 Neil Horman - 1.101-30%{dist}.1 - fixing up missing patch to kdump.init * Wed Jul 19 2006 Neil Horman - 1.101-30%{dist}.1 - add kexec frontend (bz 197695) * Wed Jul 12 2006 Jesse Keating - 1.101-29%{dist}.1 - rebuild * Wed Jul 07 2006 Neil Horman 1.101-27.fc6 - Buildrequire zlib-devel * Thu Jun 22 2006 Neil Horman -1.101-19 - Bumping rev number * Thu Jun 22 2006 Neil Horman -1.101-17 - Add patch to allow ppc64 to ignore args-linux option * Wed Mar 08 2006 Bill Nottingham - 1.101-16 - fix scriptlet - call chkconfig --add, change the default in the script itself (#183633) * Wed Mar 08 2006 Thomas Graf - 1.101-15 - Don't add kdump service by default, let the user manually add it to avoid everyone seeing a warning. * Tue Mar 07 2006 Thomas Graf - 1.101-14 - Fix kdump.init to call kexec from its new location * Mon Mar 6 2006 Jeremy Katz - 1.101-13 - proper requires for scriptlets * Mon Mar 06 2006 Thomas Graf - 1.101-12 - Move kexec and kdump binaries to /sbin * Thu Mar 02 2006 Thomas Graf - 1.101-11 - Fix argument order when stopping kexec * Mon Feb 27 2006 Thomas Graf - 1.101-10 - kdump7.patch o Remove elf32 core headers support for x86_64 o Fix x86 prepare elf core header routine o Fix ppc64 kexec -p failure for gcc 4.10 o Fix few warnings for gcc 4.10 o Add the missing --initrd option for ppc64 o Fix ppc64 persistent root device bug - Remove --elf32-core-headers from default configuration, users may re-add it via KEXEC_ARGS. - Remove obsolete KEXEC_HEADERS * Wed Feb 22 2006 Thomas Graf - 1.101-9 - Remove wrong quotes around --command-line in kdump.init * Fri Feb 17 2006 Jeff Moyer - 1.101-8 - Fix the service stop case. It was previously unloading the wrong kernel. - Implement the "restart" function. - Add the "irqpoll" option as a default kdump kernel commandline parameter. - Create a default kernel command line in the sysconfig file upon rpm install. * Tue Feb 07 2006 Jesse Keating - 1.101-7.1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Thu Feb 02 2006 Thomas Graf - 1.101-7.1 - Add patch to enable the kdump binary for x86_64 * Wed Feb 01 2006 Thomas Graf - New kdump patch to support s390 arch + various fixes - Include kdump in x86_64 builds * Mon Jan 30 2006 Thomas Graf - New kdump patch to support x86_64 userspace * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcj * Wed Nov 16 2005 Thomas Graf - 1.101-5 - Report missing kdump kernel image as warning * Thu Nov 3 2005 Jeff Moyer - 1.101-4 - Build for x86_64 as well. Kdump support doesn't work there, but users should be able to use kexec. * Fri Sep 23 2005 Jeff Moyer - 1.101-3 - Add a kdump sysconfig file and init script - Spec file additions for pre/post install/uninstall * Thu Aug 25 2005 Jeff Moyer - Initial prototype for RH/FC5