Bug 843471 - rtas_errd not auto starting on Fedora 17 GA
rtas_errd not auto starting on Fedora 17 GA
Product: Fedora
Classification: Fedora
Component: ppc64-diag (Show other bugs)
ppc64 All
unspecified Severity high
: ---
: ---
Assigned To: Karsten Hopp
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-07-26 08:20 EDT by IBM Bug Proxy
Modified: 2012-07-27 03:35 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-07-27 03:35:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

External Trackers
Tracker ID Priority Status Summary Last Updated
IBM Linux Technology Center 82850 None None None 2012-07-26 08:20:43 EDT

  None (edit)
Description IBM Bug Proxy 2012-07-26 08:20:43 EDT
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. 

Comment 1 IBM Bug Proxy 2012-07-26 08:20:57 EDT
Created attachment 600496 [details]
[patch] service script fix
Comment 2 IBM Bug Proxy 2012-07-26 08:21:11 EDT
Created attachment 600497 [details]
[patch v2] ppc64-diag spec file fix
Comment 3 Lukáš Nykrýn 2012-07-27 03:20:25 EDT
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.