diff options
-rw-r--r-- | init/kexec-disable.conf | 11 | ||||
-rw-r--r-- | initscripts.spec | 5 |
2 files changed, 15 insertions, 1 deletions
diff --git a/init/kexec-disable.conf b/init/kexec-disable.conf new file mode 100644 index 00000000..61470431 --- /dev/null +++ b/init/kexec-disable.conf @@ -0,0 +1,11 @@ +# On machines where kexec isn't going to be used, free the memory reserved for it. + +start on stopped rcS +task + +script + if [ ! -x /sbin/kexec ] || ! chkconfig kdump 2>/dev/null ; then + echo -n "0" > /sys/kernel/kexec_crash_size 2>/dev/null + fi + exit 0 +end script diff --git a/initscripts.spec b/initscripts.spec index f24642f2..b713d456 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -2,7 +2,7 @@ Summary: The inittab file and the /etc/init.d scripts Name: initscripts -Version: 9.03.13 +Version: 9.03.14 # ppp-watch is GPLv2+, everything else is GPLv2 License: GPLv2 and GPLv2+ Group: System Environment/Base @@ -239,6 +239,9 @@ rm -rf $RPM_BUILD_ROOT /etc/profile.d/debug* %changelog +* Tue Aug 3 2010 Bill Nottingham <notting@redhat.com> - 9.03.14-1 +- free kexec-reserved memory when necessary (#613578) + * Mon Jul 26 2010 Bill Nottingham <notting@redhat.com> - 9.03.13-1 - rename_device - handle quoted 'DEVICE' (#614943, <harald@redhat.com>) - rename_device - fix handling of s390 subchannels (#614739, <harald@redhat.com>) |