Bug 617374 - fc14 rpm init script broken
Summary: fc14 rpm init script broken
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: inadyn-mt
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jochen Schmitt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-22 21:11 UTC by Bryan Hoover
Modified: 2010-11-29 22:43 UTC (History)
1 user (show)

Fixed In Version: fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-29 22:43:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bryan Hoover 2010-07-22 21:11:35 UTC
Description of problem:

inadyn-mt-2_18_36-1_fc14

package init script looks for configuration file /etc/inadyn.conf though the spec file, in accordance with upstream search algorithm changes, installs only inadyn-mt.conf.  New, systemd related start up considerations not withstanding, this renders program start up broken.

Having upgraded my download repositories to rawhide, and attempted a Fedora upgrade (success with dependency problems), was able to install the inadyn-mt fc14 package via yum.  Systemd did not install so was not in use.  

I was not able to start inadyn-mt until I corrected the init script, /etc/rc.d/init.d/inadyn

Version-Release number of selected component (if applicable):

inadyn-mt-2_18_36-1_fc14

How reproducible:

Install via yum, and attempt start via init script.

Steps to Reproduce:
1.  install inadyn-mt:  yum -i inadyn-mt

2.  run init:  /etc/init.d/inadyn start
No statup confirmation output is displayed.

3.  verify start:  ps -e|grep inadyn
inadyn process does not appear in ps process list.
  
Actual results:

1.  install without problem

2.  no startup confirmation output is displayed.

3.  inadyn process does not appear in ps process list.

Expected results:

1.  install without problem

2.  output string indicating inadyn was successfully started

3.  inadyn process should appear in ps process list.


Additional info:

spec file should also probably check if sym link for any existing /etc/inadyn.conf.

The service in the units rpm is named inadyn-mt, though the init script in /etc/init.d is name inadyn (though the exec command statement is correct, as /usr/sbin/inadyn.

Since inadyn-mt, now at version 2.18.36, has not been upgraded in Fedora since its acceptance in Fedora 10, as inadyn-mt.v.02.12.24, it would be nice if this could be cleared up in time for changes freeze to come in less than a week.

Comment 1 Bug Zapper 2010-07-30 12:46:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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