Bug 480341

Summary: /etc/init.d/rhn-proxy should be in /etc/rc.d/init.d/rhn-proxy
Product: [Community] Spacewalk Reporter: Jan Pazdziora <jpazdziora>
Component: Proxy ServerAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-17 07:09:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 456553    

Description Jan Pazdziora 2009-01-16 15:17:25 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 package spacewalk-proxy-tools states the location of rhn-proxy initscript is /etc/init.d/rhn-proxy.

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

spacewalk-proxy-tools-0.4.5-1.el5

How reproducible:

Deterministic.

Steps to Reproduce:
1. rpm -ql spacewalk-proxy-tools | grep '/etc'
  
Actual results:

/etc/init.d/rhn-proxy

Expected results:

/etc/rc.d/init.d/rhn-proxy

Additional info:

Well, maybe the rhn-proxy should be gone from /etc/*/init.d altogether and moved to /usr/sbin, just like rhn-satellite was moved away from /etc.

Comment 1 Miroslav Suchý 2009-01-19 10:19:27 UTC
Fixed in 487e805f549d3a3dc0022769958588848af09253
and in packages:
spacewalk-proxy-installer-0.5.1-1
spacewalk-proxy-0.5.1-1

Comment 2 Jesus M. Rodriguez 2009-04-14 14:12:19 UTC
Spacewalk 0.5 released.

Comment 3 Miroslav Suchý 2009-09-17 07:09:18 UTC
Spacewalk 0.5 has been released for long time ago.