Bug 1128162
| Summary: | missing checking of /var/lib/system-upgrade with --clean option | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Petr Stodulka <pstodulk> |
| Component: | redhat-upgrade-tool | Assignee: | Michal Bocek <mbocek> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5 | CC: | jkurik, mkovarik, phracek, ttomecek |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | redhat-upgrade-tool-0.7.32-1.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-28 16:33:39 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: | |||
Already fixed this one, commit cb484293c188c3ce4d3135fefbd9880040f24cab Verified on redhat-upgrade-tool-0.7.32-1.el6. This bug was fixed in redhat-upgrade-tool-0.7.32-1.el6. Closing as CURRENTRELEASE. |
Description of problem: redhat-upgrade-tool doesn't check existence of /var/lib/systemd and fall when doesn't exists with --clean option. Version-Release number of selected component (if applicable): redhat-upgrade-tool-0.7.24-1.el6.noarch How reproducible: always Steps to Reproduce: redhat-upgrade-tool --clean redhat-upgrade-tool --clean Actual results: Traceback (most recent call last): File "/usr/bin/redhat-upgrade-tool", line 325, in <module> main(args) File "/usr/bin/redhat-upgrade-tool", line 107, in main do_cleanup(args) File "/usr/lib/python2.6/site-packages/redhat_upgrade_tool/commandline.py", line 228, in do_cleanup for cert in filter(lambda fn: fn.endswith('.pem'), os.listdir(packagedir)): OSError: [Errno 2] No such file or directory: '/var/lib/system-upgrade' Expected results: Additional info: