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 1234787

Summary: Wrong number of security updates listed by yum
Product: Red Hat Enterprise Linux 6 Reporter: Matteo Corti <matteo>
Component: yumAssignee: Valentina Mukhamedzhanova <vmukhame>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: high    
Version: 6.6CC: bugzilla.redhat.com, james.antill, ksrot, matteo
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-14 06:34:47 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 Matteo Corti 2015-06-23 09:00:34 UTC
Description of problem:


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

yum-3.2.29-60.el6.noarch

How reproducible:

yum --security  check-update

Steps to Reproduce:
1. yum --security  check-update

Actual results:

Loaded plugins: downloadonly, product-id, rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Limiting package lists to security relevant ones
No packages needed for security; 7 packages available

mysql-libs.i686                                  5.1.73-5.el6_6                                   rhel-x86_64-server-6

Expected results:

If mysql-libs.i686 is a security update: the text should not be "No packages needed for security" but should be "1 package needed for security"

If mysql-libs.i686 is not a security update: mysql-libs.i686 should not be listed

Additional info:

Comment 2 Karel Srot 2015-09-09 08:24:37 UTC
Hello,
could you please list all mysql package versions you have installed on the system? Isn't it possible that you already have an updated x86_64 version of the package installed (which would be is strange though).

# rpm -qa | grep mysql

Comment 3 Matt Probert 2015-09-09 08:35:57 UTC
I observe the same thing.  Granted I am in a downstream distro, but I can confirm the bug.  For anyone using nagios to monitor their servers, this breaks check_updates if you are trying to alert on security updates only.

Note in the below output:
"No packages needed for security; 22 packages available"

Yet 7 specific packages are listed.

This is new feature/bug.




[root@monitor-02 ~]# yum check-updates --security
Loaded plugins: fastestmirror, presto, security
No such command: check-updates. Please use /usr/bin/yum --help
[root@monitor-02 ~]# yum check-update --security
Loaded plugins: fastestmirror, presto, security
Determining fastest mirrors
epel/metalink                                                                                              |  25 kB     00:00
 * atomic: mirror1.34sp.com
 * base: ftp.heanet.ie
 * epel: mirror1.babylon.network
 * extras: ftp.heanet.ie
 * updates: ftp.heanet.ie
atomic                                                                                                     | 3.4 kB     00:00
atomic/primary_db                                                                                          | 787 kB     00:00
base                                                                                                       | 3.7 kB     00:00
epel                                                                                                       | 4.3 kB     00:00
epel/primary_db                                                                                            | 5.7 MB     00:00
extras                                                                                                     | 3.4 kB     00:00
extras/primary_db                                                                                          |  27 kB     00:00
sensu                                                                                                      |  951 B     00:00
sensu/primary                                                                                              |  33 kB     00:00
sensu                                                                                                                       75/75
updates                                                                                                    | 3.4 kB     00:00
updates/primary_db                                                                                         | 1.3 MB     00:00
Limiting package lists to security relevant ones
epel/updateinfo                                                                                            | 698 kB     00:00
No packages needed for security; 22 packages available

bind-libs.i686                                                  32:9.8.2-0.37.rc1.el6_7.4                                  updates
device-mapper-libs.i686                                         1.02.95-3.el6_7.2                                          updates
libXfont.i686                                                   1.4.5-5.el6_7                                              updates
nss-softokn.i686                                                3.14.3-23.el6_7                                            updates
pam.i686                                                        1.1.1-20.el6_7.1                                           updates
selinux-policy.noarch                                           3.7.19-279.el6_7.4                                         updates
selinux-policy-targeted.noarch                                  3.7.19-279.el6_7.4                                         updates
[root@monitor-02 ~]#

Comment 4 Karel Srot 2015-09-10 07:40:26 UTC
I can confirm the bug. FYI, mysql-5.1.73-5.el6_6 was not a security update, still it is listed. yum updateinfo --security doesn't seem to have this behaviour.

Comment 5 Karel Srot 2015-09-10 07:58:06 UTC
This is a regression introduced by patch BZ-967121-remove_transaction.patch

Comment 7 Karel Srot 2015-09-14 06:34:47 UTC

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