Red Hat Bugzilla – Bug 504416
Investigate rhnlib not being reported
Last modified: 2009-08-20 09:25:40 EDT
Description of problem:
This is a spinoff from bug #503090, but it appears that during a RHEL 4 u4 kickstart (possibly other 'u' releases as well), the client reports it's installed packages but rhnlib is for some reason absent from the list.
Steps to Reproduce:
1. Set debug = 5 in /etc/rhn/rhn.conf and restart httpd service.
2. Schedule a RHEL 4u4 kickstart and wait for it to complete.
3. Note that rhnlib was installed during the kickstart by examining /root/install.log.
4. View rhn_server_xmlrpc.log on the Satellite, search for "registration.add_packages".
The packages and versions in this list appear to be correct as per what's in install.log, but rhnlib is for some reason excluded.
rhnlib should be reported and recorded in our database just like all other packages.
#503090 details how this was found and an issue it caused, which we've since worked around. The underlying issue however should probably still be investigated and hopefully fixed.
Based on initial investigation it looks like this could be a client side issue.
Be wary of the fact that rhnlib is automatically upgraded to the latest version in kickstart post. This could be a complicating factor, but does not explain why the client does not report it as installed at all.
*** This bug has been marked as a duplicate of bug 510798 ***