Bug 843471 - rtas_errd not auto starting on Fedora 17 GA
Summary: rtas_errd not auto starting on Fedora 17 GA
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ppc64-diag
Version: 17
Hardware: ppc64
OS: All
unspecified
high
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-26 12:20 UTC by IBM Bug Proxy
Modified: 2012-07-27 07:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-27 07:35:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
[patch] service script fix (458 bytes, text/plain)
2012-07-26 12:20 UTC, IBM Bug Proxy
no flags Details
[patch v2] ppc64-diag spec file fix (1.91 KB, text/plain)
2012-07-26 12:21 UTC, IBM Bug Proxy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 82850 0 None None None 2012-07-26 12:20:43 UTC

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


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