Bug 896532
| Summary: | cleanup unnecessary yum related files from RHEV-H images | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Mike Burns <mburns> |
| Component: | ovirt-node | Assignee: | Fabian Deutsch <fdeutsch> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5 | CC: | acathrow, bsarathy, cboyle, cshao, fdeutsch, gouyang, hadong, huiwa, jboggs, leiwang, lnovich, mburns, ovirt-maint, ycui |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-node-3.0.0-6.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Files used by yum are currently not being cleaned up, leaving redundant files on the system. Some of the areas affected were:
/var/lib/yum/history
/var/lib/yum/yumdb
/etc/yum.repos.d
This has been fixed by disabling all yum repos in /etc/yum.repos.d rather than just fedora.repo and fedora-updates.repo, and then remove the yum database information.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-21 19:17:58 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: | |||
|
Description
Mike Burns
2013-01-17 13:57:11 UTC
This bug is currently attached to errata RHBA-2013:15277. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag. Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information: * Cause: What actions or circumstances cause this bug to present. * Consequence: What happens when the bug presents. * Fix: What was done to fix the bug. * Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore') Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug. For further details on the Cause, Consequence, Fix, Result format please refer to: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks in advance. Reproduce this issue firstly: Test version: rhevh-6.4-20130912.0.el6_4.iso ovirt-node-2.5.0-17.el6_4.8.noarch Test steps: 1. Clean install rhevh6.4. 2. Check /var/lib/yum/* 3. Check /etc/yum.repo.d/* Test result: 1. After step2, it shows as the follows. #ls -l /var/lib/yum/ total 0 drwxrwxr-x. 3 root root 80 Sep 12 17:00 history drwxrwxr-x. 2 root root 60 Sep 12 17:00 rpmdb-indexes drwxrwxr-x. 30 root root 600 Sep 12 17:00 yumdb 2. After step3, it shows as the follows. #ls -l /etc/yum.repos.d/* total 12 -rw-rw-r--. 1 root root 20 Sep 12 17:01 /etc/yum.repos.d/fedora-updates.repo -rw-rw-r--. 1 root root 19 Sep 12 17:01 /etc/yum.repos.d/fedora.repo -rw-r--r--. 1 root root 529 Jan 29 2013 /etc/yum.repos.d/rhel-source.repo Verify this issue: Test version: rhevh-6.5-20131031.1.0.iso ovirt-node-3.0.1-7.el6.noarch Test steps: 1. Clean install rhevh-6.5-20131031.1.0.iso. 2. Check /var/lib/yum/* 3. Check /etc/yum.repo.d/* Test result: 1. After step2, it shows as the follows. #ls -l /var/lib/yum/ total 0 2. After step3, it shows as the follows. #ll /etc/yum.repos.d/* total 4 -rw-r--r--. 1 root root 529 Oct 30 15:05 rhel-source.repo There is no files in /var/lib/yum/ and there also has no fedora-updates.repo and fedora.repo files in ovirt-node-3.0.1-7.el6.noarch. This bug is fixed in ovirt-node-3.0.1-7.el6.noarch. So change the status from ON_QA to VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0033.html |