Description of problem: When upgrading spacewalk-java [root@gyne ~]# rpm -Uvh --force spacewalk-java-0.6.43-1.git.15a22acd63f840b01884bb9df4ad72baa840119c.noarch.rpm Preparing... ########################################### [100%] 1:spacewalk-java ########################################### [100%] error: unpacking of archive failed on file /var/satellite/systemlogs/audit-review.log: cpio: rename failed - Operation not permitted Version-Release number of selected component (if applicable): spacewalk-java-0.6.43-1 Steps to Reproduce: 1. install spacewalk 2. upgrade spacewalk-java Actual results: error: unpacking of archive failed on file /var/satellite/systemlogs/audit-review.log: cpio: rename failed - Operation not permitted Expected results: Should install cleanly Additional info: While there's the question of why the a attr ends up on the file. There is also the point that it's a log file it should now be overwritten by rpm Patch is trivial java/spacewalk-java.spec 241 %ghost %attr(644, tomcat, root) %{_var}/satellite/systemlogs/audit-review.log
Created attachment 358101 [details] Patch Proposed fix, we should *not* be over writing any log files.
Patch looks good. Commited as 5d7d722dc09eae0c1bfcb5cb34fc24f6d0ab3a16
Spacewalk 0.7 released.