Bug 651119
| Summary: | getfattr ignores NULs in output when using "text" encoding | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Kamil Dudka <kdudka> |
| Component: | attr | Assignee: | Kamil Dudka <kdudka> |
| Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.1 | CC: | azelinka, jscotka, ovasik, pebolle, pkovar |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
When the "getfattr -e text" (or "getfattr --encoding=text") command was used to dump attributes with embedded null characters (NULs), the setfattr utility was not able to restore the original values of the attributes later on. This problem has been resolved in this update by fixing the encoding of such values in getfattr in order to prevent any information loss.
|
Story Points: | --- |
| Clone Of: | 650539 | Environment: | |
| Last Closed: | 2011-09-07 13:07:22 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: | 650539 | ||
| Bug Blocks: | |||
|
Description
Kamil Dudka
2010-11-08 20:57:28 UTC
Nitpick: s/NULLs/NULs/ in summary. Thanks for pointing it out. I was blindly trusting my spell-checker, which was more happy with NULLs. Now I realized you meant those ASCII codes denoted NUL. This issue was proposed for RHEL 6.1 FasTrack but did not get resolved in time. It has been moved to RHEL 6.2 FasTrack. upstream commit: http://git.savannah.gnu.org/cgit/attr.git/commit/?id=7fed444
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
When the "getfattr -e text" (or "getfattr --encoding=text") command was used to dump attributes with embedded null characters (NULs), the setfattr utility was not able to restore the original values of the attributes later on. This problem has been resolved in this update by fixing the encoding of such values in getfattr in order to prevent any information loss.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1272.html |