Bug 769763 - system-config-kdump fails to update grub and times out on mkdumprd
Summary: system-config-kdump fails to update grub and times out on mkdumprd
Keywords:
Status: CLOSED DUPLICATE of bug 816230
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-kdump
Version: 16
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Roman Rakus
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-22 05:29 UTC by Stuart D Gathman
Modified: 2014-01-13 00:14 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-14 09:50:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stuart D Gathman 2011-12-22 05:29:43 UTC
Description of problem:
system-config-kdump fails to activate kdump.

Version-Release number of selected component (if applicable):
system-config-kdump-2.0.5-6.fc16.noarch

How reproducible:
Default F16 install from liveCD, updated.

Steps to Reproduce:
1. run system-config-kdump
2. enable
3. apply
  
Actual results:
1) cannot read /etc/grub.conf (default install uses grub2)
  a. manually dummy up a grub.conf to keep it happy
2) dbus timeout waiting for mkdumprd (mkdumprd works normally and takes less than a minute, system-config-kdump is just impatient)

Expected results:
kdump is activated without errors

Additional info:
A page somewhere with Fedora 16 specific instructions for enabling kdump would be helpful.  I have a repeatable kernel oops I want to report.

Comment 1 Robin Green 2011-12-31 18:14:38 UTC
I can reproduce the 2nd problem. I have a /etc/grub.conf from a previous Fedora version, but of course I'm on F16 as well so I also use grub 2. Maybe it needs to be changed to use grub 2?

Comment 2 Stuart D Gathman 2012-01-02 18:12:39 UTC
Workaround:
 1. manually edit /etc/grub2.conf, /etc/kdump.conf, and maybe /etc/sysconfig/kdump
 2. dummy up /etc/grub.conf to match grub2.conf
 3. /etc/systemctl start kdump.service (runs mkdumprd)
 4. test with sysrq Crash [http://www.mjmwired.net/kernel/Documentation/sysrq.txt]

Re comment#1: while Fedora 16 defaults to grub2, it is possible to install grub after install.  So it needs to be able to handle either.  I would suggest testing whether /etc/grub.conf exists to decide which to do.

Comment 3 Roman Rakus 2012-06-14 09:50:15 UTC
Thanks for the report.
s-c-kdump uses grubby to edit grub configuration. But it needed few changes to support grub2. Yes, it searches for /etc/grub.conf.
Timeout was unset, meaning it uses default timeout for dbus calls. I've changed it to 120 seconds.
I'm closing this bug as clone of bug #816230. Please test the updated package and eventualy reopen bug #816230 with comments.

*** This bug has been marked as a duplicate of bug 816230 ***


Note You need to log in before you can comment on or make changes to this bug.