Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1316857

Summary: yum-cron won't work as expected with listed update_cmd
Product: Red Hat Enterprise Linux 7 Reporter: Przemyslaw Sobieski <przemyslaw.sobieski>
Component: yumAssignee: Valentina Mukhamedzhanova <vmukhame>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.2CC: james.antill, mdomonko
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-15 12:02:41 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 Przemyslaw Sobieski 2016-03-11 10:19:08 UTC
Description of problem:
yum-cron when configured with update_cmd = security-severity:Critical or minimal-security-severity:Critical won't update just security packages with selected Critical level but all packages even bugfixes and enhancement.

Version-Release number of selected component (if applicable):


How reproducible:
On every RH 7.2 in AWS with all the latest packages.

Steps to Reproduce:
1. install yum-cron
2. configure update_cmd = security-severity:Critical in /etc/yum/yum-cron.conf ( also lower random sleep to 0 and set apply updates to = yes to speed up testing )
3. run yum-cron /etc/yum/yum-cron.conf

Actual results:
yum-cron /etc/yum/yum-cron.conf
================================================================================
 Package      Arch   Version             Repository                        Size
================================================================================
Updating:
 glibc        x86_64 2.17-106.el7_2.4    rhui-REGION-rhel-server-releases 3.6 M
 glibc-common x86_64 2.17-106.el7_2.4    rhui-REGION-rhel-server-releases  11 M
 gnutls       x86_64 3.3.8-14.el7_2      rhui-REGION-rhel-server-releases 662 k
 grub2        x86_64 1:2.02-0.34.el7_2   rhui-REGION-rhel-server-releases 1.5 M
 grub2-tools  x86_64 1:2.02-0.34.el7_2   rhui-REGION-rhel-server-releases 3.3 M
 libssh2      x86_64 1.4.3-10.el7_2.1    rhui-REGION-rhel-server-releases 134 k
 libxml2      x86_64 2.9.1-6.el7_2.2     rhui-REGION-rhel-server-releases 666 k
 libxml2-python
              x86_64 2.9.1-6.el7_2.2     rhui-REGION-rhel-server-releases 245 k
 nss          x86_64 3.19.1-19.el7_2     rhui-REGION-rhel-server-releases 852 k
 nss-sysinit  x86_64 3.19.1-19.el7_2     rhui-REGION-rhel-server-releases  54 k
 nss-tools    x86_64 3.19.1-19.el7_2     rhui-REGION-rhel-server-releases 484 k
 nss-util     x86_64 3.19.1-9.el7_2      rhui-REGION-rhel-server-releases  72 k
 openssh      x86_64 6.6.1p1-23.el7_2    rhui-REGION-rhel-server-releases 435 k
 openssh-clients
              x86_64 6.6.1p1-23.el7_2    rhui-REGION-rhel-server-releases 639 k
 openssh-server
              x86_64 6.6.1p1-23.el7_2    rhui-REGION-rhel-server-releases 436 k
 openssl      x86_64 1:1.0.1e-51.el7_2.4 rhui-REGION-rhel-server-releases 711 k
 openssl-libs x86_64 1:1.0.1e-51.el7_2.4 rhui-REGION-rhel-server-releases 951 k
 polkit       x86_64 0.112-6.el7_2       rhui-REGION-rhel-server-releases 166 k
 python-perf  x86_64 3.10.0-327.10.1.el7 rhui-REGION-rhel-server-releases 2.4 M

Transaction Summary
================================================================================
Upgrade  19 Packages
Updates downloaded successfully.


Expected results:
Following packages updated
 glibc                                   x86_64                            2.17-106.el7_2.4                             rhui-REGION-rhel-server-releases                            3.6 M
 glibc-common                            x86_64                            2.17-106.el7_2.4                             rhui-REGION-rhel-server-releases                             11 M
 nss-util                                x86_64                            3.19.1-9.el7_2                               rhui-REGION-rhel-server-releases                             72 k


Additional info:

Comment 2 Michal Domonkos 2016-04-15 12:02:41 UTC

*** This bug has been marked as a duplicate of bug 1294789 ***