RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1481220 - [RFE] Request to add a smart check for "yum clean all" command (in RHEL 7.4) for the disabled repositories before displaying warning message
Summary: [RFE] Request to add a smart check for "yum clean all" command (in RHEL 7.4) ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yum
Version: 7.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Michal Domonkos
QA Contact: Eva Mrakova
Marie Hornickova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-14 11:55 UTC by paygupta
Modified: 2020-09-10 11:14 UTC (History)
6 users (show)

Fixed In Version: yum-3.4.3-160.el7
Doc Type: Release Note
Doc Text:
The `yum clean all` command now prints a disk usage summary When using the "yum clean all" command, the following hint was always displayed: Maybe you want: rm -rf /var/cache/yum With this update, the hint has been removed, and "yum clean all" now prints a disk usage summary for remaining repositories that were not affected by "yum clean all"
Clone Of:
Environment:
Last Closed: 2018-10-30 11:40:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3279 0 None None None 2018-10-30 11:41:17 UTC

Description paygupta 2017-08-14 11:55:41 UTC
1. Proposed title of this feature request

Request to add a smart check for "yum clean all" command (in RHEL 7.4) for the disabled repositories before displaying warning message.

2. What is the nature and description of the request?

In RHEL 7.4 # yum clean all command is shows a warning message "Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos" every time even if there are no disabled repos consuming disk space for its repodata. This change was implemented as a part of bugzilla : 1357083


4. Why does the customer need this? (List the business requirements here)

The warning message is not user friendly for normal users (developers), users get confused with the warning. This warning is displayed even if the system is not registered to the customer portal and using only local repositories.

5. How would the customer like to achieve this? (List the functional requirements here)

# yum clean all command should check the enabled vs disabled repositories and if there is significant amount of space consumed by the disabled repositories then only the warning message should be displayed on the console to clean the disk space consumed by the disabled repositories. 

6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

Running # yum clean all command should smartly check the disk space consumed by the disabled repositories and  show warning message only if there is significant amount of space consumed by the disabled repositories.


7. Is there already an existing RFE upstream or in Red Hat Bugzilla?

- No

8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?

- Issue needs to be resolved as soon as possible

9. Is the sales team involved in this request and do they have any additional input?

- No


10. List any affected packages or components.

- yum-3.4.3-154.el7.noarch


11. Would the customer be able to assist in testing this functionality if implemented?

- Yes

Comment 18 errata-xmlrpc 2018-10-30 11:40:23 UTC
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.

https://access.redhat.com/errata/RHBA-2018:3279


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