Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1128162 - missing checking of /var/lib/system-upgrade with --clean option
missing checking of /var/lib/system-upgrade with --clean option
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: redhat-upgrade-tool (Show other bugs)
6.5
Unspecified Unspecified
unspecified Severity low
: rc
: ---
Assigned To: Michal Bocek
: Extras
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-08 09:09 EDT by pstodulk
Modified: 2016-07-28 12:33 EDT (History)
4 users (show)

See Also:
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 12:33:39 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1396 normal SHIPPED_LIVE redhat-upgrade-tool bug fix update 2014-10-14 10:18:35 EDT

  None (edit)
Description pstodulk 2014-08-08 09:09:34 EDT
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:
Comment 1 David Shea 2014-08-08 09:12:10 EDT
Already fixed this one, commit cb484293c188c3ce4d3135fefbd9880040f24cab
Comment 3 Michal Kovarik 2014-09-23 06:23:02 EDT
Verified on redhat-upgrade-tool-0.7.32-1.el6.
Comment 6 Michal Bocek 2016-07-28 12:33:39 EDT
This bug was fixed in redhat-upgrade-tool-0.7.32-1.el6. Closing as CURRENTRELEASE.

Note You need to log in before you can comment on or make changes to this bug.