Created attachment 361939 [details]
gziped up2date log
Description of problem:
satellite sends wrong data using rhn_check for rollback.
when you do sequence of up2date xxxx and snapshot rollbacks after re-registration.
up2date acpid bind-utils bind-libs,
rollback to snapshot before update of libxml2.
system has destroyed deps, because of removing only libxml2.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. register system to satellite, remove that system, register again, create initial snapshot in satellite and update package list (after creation of initial snapshot followed by updating package profile initial snapshot shows delta of packages equal to sum of all packages!).
2. up2date acpid bind-libs bind-utils, do rollback to first snapshot before update of those packages (not initial as it show all packages as list of change).
3. up2date -p
4. up2date libxml2 and do rollback to first snapshot showing libxml2 as changed package
action is in satellite as picked-up and not finished, because as dependency of libxml2 removal is removed up2date itself and rhn_check fails with error:
[Mon Sep 21 08:59:41 2009] up2date Removing packages from package profile: ['libxml2-2.6.16-12.7', 'libxml2-devel-2.6.16-12.6', 'libxml2-python-2.6.16-12.6', 'libxslt-1.1.11-1.el4_7.2', 'perl-XML-LibXML-1.58-3.el4', 'perl-XML-LibXML-Common-0.13-8.el4', 'setools-2.3-4', 'sos-1.7-9.35.el4', 'up2date-4.8.1-33.el4', 'xmlsec1-1.2.6-3', 'xmlsec1-openssl-1.2.6-3', 'yum-2.2.2-1.rhts.EL4'][Mon Sep 21 08:59:41 2009] up2date ERROR: can not find RHNS CA file:: /usr/share/rhn/RHNS-CA-CERT
satellite after re-registration with marked upload of package profile to server will track package transactions properly or up2date doesn't allow such transaction.
I'll need exact version of up2date confirmed where this issue happened.
Also, can you please confirm whether this is or isn't a regression against RHEL 4.6?
from initial comment it looks like this was with up2date-4.8.1-33.el4. I'll confirm and will report results here.