Bug 480342 - No startup scripts should be in /etc/init.d, all should go to /etc/rc.d/init.d
Summary: No startup scripts should be in /etc/init.d, all should go to /etc/rc.d/init.d
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.4
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space07
TreeView+ depends on / blocked
 
Reported: 2009-01-16 15:25 UTC by Jan Pazdziora
Modified: 2009-12-07 12:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-07 12:02:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora 2009-01-16 15:25:41 UTC
Description of problem:

Fedora Packaging says on their page
   https://fedoraproject.org/wiki/Packaging/SysVInitScript
   Packages with SysV-style initscripts must put any them into
   /etc/rc.d/init.d. A rpm macro exists for this directory, %_initrddir.

   In the past, some packages were putting files in /etc/init.d instead
   of /etc/rc.d/init.d. (/etc/init.d is a symlink to /etc/rc.d/init.d)

   This split made it more difficult to use yum install against the
   initscript filename and path. Since /etc/init.d is the symlink (and
   because the Filesystem Hierarchy Standard does not mandate a location),
   Fedora requires that all SysV-style initscripts must go into the full
   /etc/rc.d/init.d directory. 

The packages osad, osa-dispatcher, spacewalk-search and spacewalk-taskomatic put their initscripts to /etc/init.d.

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

On server:

osa-dispatcher-5.9.2-1.el5
spacewalk-search-0.4.10-1.el5
spacewalk-taskomatic-0.4.16-1.el5

On client:

osad-5.9.2-1.el5

How reproducible:

Deterministic.

Steps to Reproduce:
1. rpm -ql osad osa-dispatcher spacewalk-search spacewalk-taskomatic | grep '/etc.*/init\.d/'
  
Actual results:

/etc/init.d/osad
/etc/init.d/osa-dispatcher
/etc/init.d/rhn-search
/etc/init.d/taskomatic

Expected results:

/etc/rc.d/init.d/osad
/etc/rc.d/init.d/osa-dispatcher
/etc/rc.d/init.d/rhn-search
/etc/rc.d/init.d/taskomatic

Additional info:

Comment 2 Jesus M. Rodriguez 2009-05-04 14:40:35 UTC
taskomatic fixed

Comment 3 Miroslav Suchý 2009-12-01 08:45:46 UTC
rhn-search fixed in commit 2c121b5a170763fb86afa902159a59a1857bf2df

Comment 4 Miroslav Suchý 2009-12-07 12:02:42 UTC
Spacewalk 0.7 released.


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