Bug 1155814
| Summary: | cpio creates zero-size hardlinks when original file's inode is too large | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Nathan Crawford <nathan.crawford> |
| Component: | cpio | Assignee: | Pavel Raiskup <praiskup> |
| Status: | CLOSED ERRATA | QA Contact: | Petr Sklenar <psklenar> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5 | CC: | hhorak, pasteur, praiskup, psklenar, rpiddapa, trepik |
| Target Milestone: | rc | Keywords: | Patch |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | cpio-2.10-13.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
Cpio used improper integer type for inode representation.
Consequence:
File with large inode number was improperly archived in 'newc' archives.
Fix:
Using proper integer type inode_t for inode number representation.
Result:
The cpio utility is able archive such files correctly in 'newc' archive.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-21 09:32:16 UTC | Type: | Bug |
| 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: | 1269194, 1359256 | ||
|
Description
Nathan Crawford
2014-10-22 22:12:18 UTC
Hello Nathan, thanks for the report. Yes - ino 2262282261 is bigger than INT_MAX so your case seems to match the upstream fix. Consider using other archiving tools or formats (e.g. ustar) if possible. If this issue is critical or in any way time sensitive, please raise a ticket through your regular Red Hat support channels to make certain it receives the proper attention and prioritization to assure a timely resolution. For information on how to contact the Red Hat production support team, please visit: https://www.redhat.com/support/process/production/#howto Pavel Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2017-0611.html |