Bug 480328 - spacewalk-proxy-tools does chkconfig rhn-proxy on in %post
Summary: spacewalk-proxy-tools does chkconfig rhn-proxy on in %post
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Proxy 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: space05
TreeView+ depends on / blocked
 
Reported: 2009-01-16 14:32 UTC by Jan Pazdziora (Red Hat)
Modified: 2009-09-17 07:09 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-17 07:09:14 UTC
Embargoed:


Attachments (Terms of Use)

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.


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