Bug 808817 - kdump udev rules 98-kexec.rules still use /etc/init.d/kdump
kdump udev rules 98-kexec.rules still use /etc/init.d/kdump
Product: Fedora
Classification: Fedora
Component: kexec-tools (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Dave Young
Fedora Extras Quality Assurance
: 827152 (view as bug list)
Depends On:
Blocks: 808818
  Show dependency treegraph
Reported: 2012-04-01 04:36 EDT by WANG Chao
Modified: 2012-10-07 03:48 EDT (History)
5 users (show)

See Also:
Fixed In Version: kexec-tools-2.0.3-48
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 808818 (view as bug list)
Last Closed: 2012-06-22 04:11:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description WANG Chao 2012-04-01 04:36:26 EDT
Description of problem:
In 98-kexec.rules, we still use /etc/init.d/kdump to start/restart kdump service, which should be changed to /usr/bin/kdumpctl.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Américo Wang 2012-04-02 04:02:48 EDT
Should use systemctl to control the service, something like below:

diff --git a/98-kexec.rules b/98-kexec.rules
index 8b47671..5f0d56f 100644
--- a/98-kexec.rules
+++ b/98-kexec.rules
@@ -1,4 +1,4 @@
-SUBSYSTEM=="cpu", ACTION=="online", PROGRAM="/etc/init.d/kdump restart"
-SUBSYSTEM=="cpu", ACTION=="offline", PROGRAM="/etc/init.d/kdump restart"
-SUBSYSTEM=="memory", ACTION=="add", PROGRAM="/etc/init.d/kdump restart"
-SUBSYSTEM=="memory", ACTION=="remove", PROGRAM="/etc/init.d/kdump restart"
+SUBSYSTEM=="cpu", ACTION=="online", PROGRAM="/bin/systemctl restart kdump.service"
+SUBSYSTEM=="cpu", ACTION=="offline", PROGRAM="/bin/systemctl restart kdump.service"
+SUBSYSTEM=="memory", ACTION=="add", PROGRAM="/bin/systemctl restart kdump.service"
+SUBSYSTEM=="memory", ACTION=="remove", PROGRAM="/bin/systemctl restart kdump.service"
Comment 2 Fedora Admin XMLRPC Client 2012-04-16 02:12:56 EDT
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.
Comment 3 Dave Young 2012-05-31 21:26:06 EDT
*** Bug 827152 has been marked as a duplicate of this bug. ***

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