Bug 843471

Summary: rtas_errd not auto starting on Fedora 17 GA
Product: [Fedora] Fedora Reporter: IBM Bug Proxy <bugproxy>
Component: ppc64-diagAssignee: Karsten Hopp <karsten>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17CC: jkachuck, karsten, lnykryn, wgomerin
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-27 07:35:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
[patch] service script fix
none
[patch v2] ppc64-diag spec file fix none

Description IBM Bug Proxy 2012-07-26 12:20:43 UTC
Summary :
---------------

Original author of spec file for Fedora,  forgot to enable/start the  rtas_errd service during installation. Hence rtas_errd daemon doesn't start after ppc64-diag package installation. Also author has changed the service name from rtas_errd to ppc64-diag.service. This will confuse the existing ppc64-diag user.

Further, I observed that if we start the daemon using rtas_errd script ( /usr/libexec/ppc64-diag/rtas_errd start)  and then we run systemctl stop command it fails to stop the daemon. Also following scenario failed for me.

systemctl enable ppc64-diag.service (this will start the rtas_errd in next reboot)
 /usr/libexec/ppc64-diag/rtas_errd restart 
  Ideally it should restart the daemon smoothly. However in my case, it just stopped rtas_errd. ( I am not sure why it failed )

So, I have done following changes to FC17 ppc64-diag package.

1. rename ppc64-diag.service to rtas_errd.service and fixed minor issue in the service script 
2. Fixed the spec file issue. 

-Vasant

Comment 1 IBM Bug Proxy 2012-07-26 12:20:57 UTC
Created attachment 600496 [details]
[patch] service script fix

Comment 2 IBM Bug Proxy 2012-07-26 12:21:11 UTC
Created attachment 600497 [details]
[patch v2] ppc64-diag spec file fix

Comment 3 Lukáš Nykrýn 2012-07-27 07:20:25 UTC
Thanks for the patches, I have committed them to git http://lists.fedoraproject.org/pipermail/scm-commits/2012-July/834659.html