Bug 500813
| Summary: | ecryptfs-rewrite-file should be more wise when dealing with non-existing/bogus files | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Michal Nowak <mnowak> | ||||||
| Component: | ecryptfs-utils | Assignee: | Michal Hlavinka <mhlavink> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | BaseOS QE <qe-baseos-auto> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 5.4 | CC: | ohudlick, rvokal | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2009-09-02 09:57:36 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: | |||||||||
| Attachments: |
|
||||||||
Created attachment 344431 [details]
sent upstream
Created attachment 346074 [details]
improved one
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/RHSA-2009-1307.html |
Description of problem: [root@hp-ml370g4-01 Private]# ecryptfs-rewrite-file . OK [root@hp-ml370g4-01 Private]# ecryptfs-rewrite-file . df sdsds INFO: Rewriting [1/3] [df] ... [OK] INFO: Rewriting [2/3] [sdsds] ... cp: cannot stat `sdsds': No such file or directory ERROR: Could not copy [sdsds] to [sdsds.KiSoJ14967] - something like [3/3] is missing here ('.' is missing here and should be treated as "ERROR") - "cp: cannot stat `sdsds': No such file or directory" should be avoided in this place and "[FAILED]" is more appropriate + some nice "ERROR:" msg below ("ERROR: No such file or directory"?). Version-Release number of selected component (if applicable): ecryptfs-utils-75-1.el5