Description of problem: When fedup --clean fails to remove a file, it also fails to log the failure Version-Release number of selected component (if applicable): fedup-0.7.3-5.fc17.noarch How reproducible: Whenever fedup --clean can't remove a file Steps to Reproduce: 1. fedup --clean 2. 3. Actual results: [root@rmancy tmp]# fedup --clean resetting bootloader config removing boot images removing downloaded packages removing miscellaneous files Traceback (most recent call last): File "/usr/bin/fedup", line 181, in <module> main(args) File "/usr/bin/fedup", line 82, in main do_cleanup(args) File "/usr/lib/python2.7/site-packages/fedup/commandline.py", line 185, in do_cleanup misc_cleanup() File "/usr/lib/python2.7/site-packages/fedup/sysprep.py", line 202, in misc_cleanup rm_rf(d) File "/usr/lib/python2.7/site-packages/fedup/util.py", line 51, in rm_rf rm_f(d, rm=rmtree) File "/usr/lib/python2.7/site-packages/fedup/util.py", line 48, in rm_f log.warn("failed to remove %s: %s", f, str(e)) NameError: global name 'log' is not defined Expected results: [root@rmancy tmp]# fedup --clean resetting bootloader config removing boot images removing downloaded packages removing miscellaneous files fedup.util WARNING: failed to remove /system-upgrade-root: [Errno 16] Device or resource busy: '/system-upgrade-root' Additional info:
Created attachment 752477 [details] Add log var
Should be fixed by https://github.com/wgwoods/fedup/commit/b4c25d5 - thanks!
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Shouldn't this fix also be pushed to F17?
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.
bug still exist in fedup of Fedora 19
*** Bug 984288 has been marked as a duplicate of this bug. ***
*** Bug 981184 has been marked as a duplicate of this bug. ***
fedup-0.8.0-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/fedup-0.8.0-3.fc19
fedup-0.8.0-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/fedup-0.8.0-3.fc20
fedup-0.8.0-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/fedup-0.8.0-3.fc18
Package fedup-0.8.0-3.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fedup-0.8.0-3.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23316/fedup-0.8.0-3.fc19 then log in and leave karma (feedback).
fedup-0.8.0-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
fedup-0.8.0-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
fedup-0.8.0-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.