Bug 756953 - oddjob init script does not implement force-reload action and returns wrong code when executed without an action
Summary: oddjob init script does not implement force-reload action and returns wrong c...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: oddjob
Version: 5.8
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Nalin Dahyabhai
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On: 674534
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-25 09:43 UTC by Milos Malik
Modified: 2012-04-12 14:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 674534
Environment:
Last Closed: 2012-03-28 21:58:28 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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