Bug 808817

Summary: kdump udev rules 98-kexec.rules still use /etc/init.d/kdump
Product: [Fedora] Fedora Reporter: WANG Chao <chaowang>
Component: kexec-toolsAssignee: Dave Young <ruyang>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: frank, joshua, nhorman, ruyang, xiyou.wangcong
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kexec-tools-2.0.3-48 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 808818 (view as bug list) Environment:
Last Closed: 2012-06-22 08:11:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 808818    

Description WANG Chao 2012-04-01 08:36:26 UTC
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:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Américo Wang 2012-04-02 08:02:48 UTC
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 06:12:56 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Dave Young 2012-06-01 01:26:06 UTC
*** Bug 827152 has been marked as a duplicate of this bug. ***