+++ This bug was initially created as a clone of Bug #607227 +++ Description of problem: systemtap service from systemtap-initscript service does not beahve as required in https://fedoraproject.org/wiki/Packaging/SysVInitScript (the guideline is from Fedora, but it valid for RHEL too) =============================================================================== All SysV-style initscripts in Fedora must have implementations of the following actions: (...) * restart: stop and restart the service if the service is already running, otherwise just start the service (...) =============================================================================== Version-Release number of selected component (if applicable): systemtap-1.2-3.el6 How reproducible: always Steps to Reproduce: 1. cp heart.stp /etc/systemtap/script.d/ 2. service systemtap stop 3. service systemtap restart Actual results: # service systemtap restart Starting systemtap: [WARNING] # service systemtap status heart is stopped Expected results: # service systemtap restart Starting systemtap: Starting heart ... done # service systemtap status heart is running...
Reported for: systemtap-1.1-3.el5
We don't have a patch for this one yet, but it's bound to be a small easy one.
There appears to be a bug in the initscript's logic when it redefines the "SCRIPTS" variable. When this problem happens, you'll see the following message in /var/log/messages: Warning: No scripts exist. Note that you can immediately turn around and run "service systemtap start" which will work correctly.
Fixed upstream in commit 3c56839: <http://sources.redhat.com/git/gitweb.cgi?p=systemtap.git;a=commitdiff;h=3c568395e760c7a0a0ae0080d9fb52962929c0cc>
This one seems to fall through the cracks... Because it has all the acks, and comment 4 + fact that systemtap was rebased in rhel5.6 should mean this is fixed in rhel5.6, I'll be bold, move this to MODIFIED and add to 5.6 erratum. Swear and revert if you dont agree :)
It seems like I did an error in comment 5, as this is not fixed, and the change mentioned in comment 4 did not get in: # grep "condres" /etc/init.d/systemtap # echo $? 1 Given this is really low prio, not a regression and not driven by customer, I'll remove this from the erratum and flag it for 5.7
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1044.html