Bug 518469
| Summary: | CPIO error when upgrading spacewalk-java | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Mark Chappell <redhat> | ||||
| Component: | Installation | Assignee: | Miroslav Suchý <msuchy> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 0.6 | CC: | msuchy | ||||
| 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-12-07 12:02:52 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: | 507670 | ||||||
| Attachments: |
|
||||||
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. |
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