Bug 652821
| Summary: | [abrt] rdiff-backup-1.2.8-5.fc14: rpath.py:993:rmdir:OSError: [Errno 39] Directory not empty: '/var/backup/.Trash-1000' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pieter De Praetere <pieter.depraetere> | ||||
| Component: | rdiff-backup | Assignee: | Kevin Fenzi <kevin> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 14 | CC: | kevin | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | abrt_hash:e6f32134 | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-11-13 22:01:48 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 460153 [details]
File: backtrace
So what do you expect it to do in this case? Overwrite the directory anyhow, because you used --force? --force only means to force an update or other action on a valid rdiff-backup directory. Not sure what we can do here... Upstream development isn't too active, but we could open discussion on how to handle this on their list? |
abrt version: 1.1.13 architecture: x86_64 comment: Called rdiff-backup --force foo bar, but bar was a directory that already existed, and contained some hidden directories, including the .Trash-directory. component: rdiff-backup executable: /usr/bin/rdiff-backup kernel: 2.6.35.6-48.fc14.x86_64 package: rdiff-backup-1.2.8-5.fc14 reason: rpath.py:993:rmdir:OSError: [Errno 39] Directory not empty: '/var/backup/.Trash-1000' release: Fedora release 14 (Laughlin) time: 1289595825 uid: 500 backtrace ----- rpath.py:993:rmdir:OSError: [Errno 39] Directory not empty: '/var/backup/.Trash-1000' Traceback (most recent call last): File "/usr/bin/rdiff-backup", line 30, in <module> rdiff_backup.Main.error_check_Main(sys.argv[1:]) File "/usr/lib64/python2.7/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/usr/lib64/python2.7/site-packages/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/usr/lib64/python2.7/site-packages/rdiff_backup/Main.py", line 280, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/usr/lib64/python2.7/site-packages/rdiff_backup/Main.py", line 346, in Backup backup.Mirror(rpin, rpout) File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py", line 232, in patch ITR(diff.index, diff) File "/usr/lib64/python2.7/site-packages/rdiff_backup/rorpiter.py", line 277, in __call__ if self.finish_branches(index) is None: File "/usr/lib64/python2.7/site-packages/rdiff_backup/rorpiter.py", line 229, in finish_branches to_be_finished.end_process() File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py", line 672, in end_process self.base_rp.rmdir() File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line 993, in rmdir self.conn.os.rmdir(self.path) OSError: [Errno 39] Directory not empty: '/var/backup/.Trash-1000' Local variables in innermost frame: self: <rdiff_backup.rpath.RPath instance at 0x7f122e27e8c0> How to reproduce ----- 1. Call rdiff-backup on its first run on a directory that still contains the .Trash-directory. 2. Use it with the --force flag.