Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 144842 Details for
Bug 221510
kdump service should warn admins in the case that no dump directory is specified initially
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
This patch is based on -156.el5 and, can fix this problem.
kexec-tools-1.101-check-dump-directory.patch (text/plain), 944 bytes, created by
Akira Imamura
on 2007-01-04 21:06:36 UTC
(
hide
)
Description:
This patch is based on -156.el5 and, can fix this problem.
Filename:
MIME Type:
Creator:
Akira Imamura
Created:
2007-01-04 21:06:36 UTC
Size:
944 bytes
patch
obsolete
>Index: kdump.init >=================================================================== >RCS file: /cvs/dist/rpms/kexec-tools/RHEL-5/kdump.init,v >retrieving revision 1.43 >diff -p -u -r1.43 kdump.init >--- kdump.init 20 Dec 2006 13:29:52 -0000 1.43 >+++ kdump.init 3 Jan 2007 22:57:11 -0000 >@@ -50,6 +50,21 @@ function save_core() > fi > } > >+function check_dump_dir() >+{ >+ if [ ! -f $KDUMP_CONFIG_FILE ]; then >+ return 1 >+ fi >+ >+ while read type location; do >+ case "$type" in >+ net|raw|path|ext3) return 0 ;; >+ esac >+ done < $KDUMP_CONFIG_FILE >+ >+ return 1 >+} >+ > function check_config() > { > if [ -z "$KDUMP_KERNELVER" ]; then >@@ -298,6 +313,12 @@ function start() > $LOGGER "failed to start up, config file incorrect" > return 1 > fi >+ check_dump_dir >+ if [ $? != 0 ]; then >+ echo -n "No dump directory specified in $KDUMP_CONFIG_FILE" >+ warning >+ echo >+ fi > load_kdump > if [ $? != 0 ]; then > echo -n "Starting kdump:"; failure; echo
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221510
: 144842