Bug 480328

Summary: spacewalk-proxy-tools does chkconfig rhn-proxy on in %post
Product: [Community] Spacewalk Reporter: Jan Pazdziora (Red Hat) <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:14 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 (Red Hat) 2009-01-16 14:32:16 UTC
Description of problem:

The package spacewalk-proxy-tools does

  chkconfig rhn-proxy on

in %post script. This is against Fedora Packaging guidelines, as stated in

  https://fedoraproject.org/wiki/Packaging/SysVInitScript
  Why don't we....
    * run 'chkconfig <service> on'? 
    If a service should be enabled by default, make this the default
    in the init script. Doing otherwise will cause the service to be
    turned on on upgrades if the user explicitly disabled it. 

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

spacewalk-proxy-tools-0.4.5-1.el5

How reproducible:

Deterministic.

Steps to Reproduce:
1. rpm -q --scripts spacewalk-proxy-tools | grep 'chkconfig.*on'
  
Actual results:

# rpm -q --scripts spacewalk-proxy-tools | grep 'chkconfig.*on'
    /sbin/chkconfig --level 345 rhn-proxy on

Expected results:

No chkconfig on done.

Additional info:

Comment 1 Miroslav Suchý 2009-01-20 13:25:42 UTC
commited in b9b46e7959d9a1d721a2c12bc2c3d0060e202099

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

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