Bug 629330

Summary: Missing files in Spacewalk Proxy rpms
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: Proxy ServerAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2CC: mminar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-proxy-1.2.2-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 627168 Environment:
Last Closed: 2010-11-19 16:16:33 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: 623772, 627168    

Description Miroslav Suchý 2010-09-01 17:00:32 UTC
+++ This bug was initially created as a clone of Bug #627168 +++

Description of problem:
There are missing files in spacewalk-proxy-common.noarch and spacewalk-proxy-broker.noarch RPMs

Version-Release number of selected component (if applicable):
spacewalk-proxy-common-0.5.7-12.el5sat
spacewalk-proxy-broker-0.5.7-12.el5sat

How reproducible:
Always

Steps to Reproduce:
1. rpm -V spacewalk-proxy-common.noarch
2. rpm -V spacewalk-proxy-broker.noarch

  
Actual results:
missing     /var/cache/rhn/proxy-auth
missing     /var/spool/rhn-proxy/list

and
missing     /var/spool/rhn-proxy/list


Expected results:
No missing files

Additional info:
Doesn't really affects functionality, since apparently the bug is in there for some time, but test are failing.

Comment 1 Miroslav Suchý 2010-09-01 17:05:50 UTC
missing     /var/spool/rhn-proxy/list
This is due https://bugzilla.redhat.com/show_bug.cgi?id=172165#c10 
We should not remove that directory, but only its content.
Commit 0ee996b7cbec936d98971b8fcf9a742bc2365845

Comment 2 Miroslav Suchý 2010-09-01 17:18:35 UTC
/var/cache/rhn/* was removed during %preun, and we had no detection whether it is upgrade or real uninst.
commit d04e14a8f6e8c09c3f63ec3c7729f02e84ee2c63

Comment 4 Jan Pazdziora (Red Hat) 2010-11-19 16:16:33 UTC
With Spacewalk 1.2 released, marking as CLOSED CURRENTRELEASE.

https://www.redhat.com/archives/spacewalk-list/2010-November/msg00111.html