Bug 756953

Summary: oddjob init script does not implement force-reload action and returns wrong code when executed without an action
Product: Red Hat Enterprise Linux 5 Reporter: Milos Malik <mmalik>
Component: oddjobAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED NEXTRELEASE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8CC: dpal, mkhusid, ykopkova, zmraz
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 674534 Environment:
Last Closed: 2012-03-28 21:58:28 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: 674534    
Bug Blocks:    

Description Milos Malik 2011-11-25 09:43:59 UTC
+++ This bug was initially created as a clone of Bug #674534 +++

Description of problem:
According to https://fedoraproject.org/wiki/Packaging/SysVInitScript oddjob component init script should:
 * return code "2" when executed without an action or when the action is not implemented
 * implement force-reload action because it belongs to "Required Actions"

Steps to reproduce:
# service oddjobd
Usage: /etc/init.d/oddjobd {start|stop|restart|condrestart|reload|status}
# echo $?
1
# service oddjobd force-reload
Usage: /etc/init.d/oddjobd {start|stop|restart|condrestart|reload|status}
# echo $?
1
#

Comment 1 Milos Malik 2011-11-25 09:46:27 UTC
# rpm -qa oddjob\*
oddjob-debuginfo-0.27-12.el5.i386
oddjob-libs-0.27-12.el5.i386
oddjob-devel-0.27-12.el5.i386
oddjob-0.27-12.el5.i386
#

Comment 2 RHEL Program Management 2011-11-25 09:57:27 UTC
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.

Comment 3 Nalin Dahyabhai 2012-03-28 21:58:28 UTC
This is already fixed in 6, and it's unlikely we'd push an update to fix this, so I'll close this with resolution next-release.