Bug 491301

Summary: non-conffile-in-etc /etc/sysconfig/rhn-satellite-prep/etc/
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: InstallationAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 0.6CC: cperry
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: 2011-02-08 08:41:34 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: 653453    

Description Miroslav Suchý 2009-03-20 10:07:41 UTC
Description of problem:
rpmlint /tmp/spacewalk-build/rpmbuild-spacewalk-config-git-9c870c5a6070590c6e8ce7909bb336270d213c52/noarch/spacewalk-config-0.5.6-1.git.9c870c5a6070590c6e8ce7909bb336270d213c52.noarch.rpm
spacewalk-config.noarch: W: non-conffile-in-etc /etc/sysconfig/rhn-satellite-prep/etc/jabberd/s2s.xml
spacewalk-config.noarch: W: non-conffile-in-etc /etc/sysconfig/rhn-satellite-prep/etc/jabberd/sm.xml
spacewalk-config.noarch: W: non-conffile-in-etc /etc/sysconfig/rhn-satellite-prep/etc/jabberd/c2s.xml
spacewalk-config.noarch: W: non-conffile-in-etc /etc/sysconfig/rhn-satellite-prep/etc/rhn/cluster.ini
spacewalk-config.noarch: W: non-conffile-in-etc /etc/sysconfig/rhn-satellite-prep/etc/rhn/rhn.conf
spacewalk-config.noarch: W: non-conffile-in-etc /etc/sysconfig/rhn-satellite-prep/etc/tomcat5/tomcat5.conf

We do not want to mark this files as conffile since we *want* the to be replaced with package upgrade. So this files are not configuration files and should not be in /etc/ but rather somewhere in /usr as others templates.

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

Comment 1 Jan Pazdziora 2009-11-19 13:44:56 UTC
Well, if we just use %config and not %config(noreplace), they will be replaced upon upgrade. Please complain if you disagree.

Comment 2 Miroslav Suchý 2009-11-19 14:03:25 UTC
But if you put there pure %config, then you will get warning that you are using %config without (noreplace).

I suppose it comes down to if:
 - those files are config files (which means user can configure them) and then this warning can be waived
 - it is not configuration files, but rather template, and it should not be in etc, but rather in /usr/share

Comment 3 Jan Pazdziora 2010-05-04 09:14:44 UTC
Moving to space11.

Comment 4 Jan Pazdziora 2010-11-19 16:05:34 UTC
Mass-moving to space13.

Comment 5 Miroslav Suchý 2010-11-20 13:53:03 UTC
This has been solved as side effect of 491331.
/etc/sysconfig/rhn-satellite-prep is now /var/lib/rhn/rhn-satellite-prep

Comment 6 Tomas Lestach 2011-02-03 12:21:36 UTC
Moving ON_QA ...

Comment 7 Tomas Lestach 2011-02-08 08:41:34 UTC
This bug has been fixed in Spacewalk 1.3.