Bug 489901
Summary: | comparing to the profile shows too much differences | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jan Hutař <jhutar> | ||||
Component: | rhn-client-tools | Assignee: | Milan Zázrivec <mzazrivec> | ||||
Status: | CLOSED ERRATA | QA Contact: | Jiri Kastner <jkastner> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.3 | CC: | bkearney, jkastner, pdemauro, rhn-bugs | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | us=80466 | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 543942 (view as bug list) | Environment: | |||||
Last Closed: | 2010-03-30 08:44:11 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 543942 | ||||||
Attachments: |
|
Description
Jan Hutař
2009-03-12 14:12:26 UTC
This appears to be caused by the client side, and how it sends up a package profile during registration. During registration the client does rpmUtils.getInstalledPackageList(getInfo=1) All other times the client does rpmUtils.getInstalledPackageList(getArch=1) getArch checks that the package has an arch field and if not, ignores it (for gpg keys, for instance). getInfo checks that the package has both an arch and a cookie field, and if not, ignores it. A lot of packages don't have a cookie, so they are ignored during registration, but added on further profile syncs. afaik the cookie field is never used server side, so it should be safe to just have the client use getArch vs getInfo. This has been mistakenly assigned to RHEL-5 client component, although the initial comment says up2date (RHEL-4). Clone of the problem for RHEL-4 is available at bug #543942 Following the advice from comment #1, using getArch=1 during client registration. spacewalk.git master: 77c7e858bebe5812f8565ef1fe995f1ab4c473fc Sending src/bin/rhnreg_ks.py Sending src/up2date_client/rhnregGui.py Sending src/up2date_client/tui.py Transmitting file data ... Committed revision 189258. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0270.html |