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) ...
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 Dolezelova
URL:
Whiteboard:
Keywords: FutureFeature
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-14 11:55 UTC by paygupta
Modified: 2018-10-30 11:41 UTC (History)
6 users (show)

(edit)
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:
(edit)
Last Closed: 2018-10-30 11:40:23 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3279 None None None 2018-10-30 11:41 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.