Red Hat Bugzilla – Bug 510236
RHN Statellite generating broken updateinfo.xml
Last modified: 2012-03-20 08:13:29 EDT
Description of problem:
While inspecting updateinfo.xml file obtained form RHN Satellite 5.2.0, I've noticed that it lists files for different architectures. For some errata, it does not even list files for system's architecture, which may result in incomplete results printed by yum-security plugin.
I've double checked updateinfo.xml from hosted, and it only lists files from system architecture and noarch (+ i686, as I was working on i386 system).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
zcat /var/cache/yum/rhel-i386-server-5/updateinfo.xml.gz | xmllint --format - | grep -o 'arch="[^"]*"' | grep -v -e 'arch="i86"' -e 'arch="noarch"' | sort -u
On system registered on Satellite, the output is:
I get no output for the same command on system registered in hosted.
Created attachment 350929 [details]
Sample updateinfo file sectoin
Note no i386 package listed even though all files are listed for collection rhel-i386-server-5.
With Satellite 5.4.1, I see
# zcat /var/cache/yum/rhel-i386-server-5/updateinfo.xml.gz | xmllint --format - | grep -o 'arch="[^"]*"' | sort -u
Can we assume this is fixed in latest Satellites?
I see no unexpected arches listed in updateinfo.xml.gz for i386 and x86_64 systems using recent satellite. I'm happy to assume this got corrected in some version in between 5.2.0 and current 5.4.1.
Thank you. Closing as CURRENTRELEASE.