Description of problem: Proxy installer is installing rhns before rhn-apache. This causes a warning to be output to stdout because rhns requires the apache group that rhn-apache creates. Version-Release number of selected component (if applicable): up2date-4.4.36-3 rhel 3 u5 AS i686 How reproducible: always Steps to Reproduce: 1. install a proxy on RHEL 3 U5 AS or RHEL 4 U1 AS box using up2date-4.4.36-x 2. 3. Actual results: 1. "warning: group apache does not exist - using root" when preparing to install rhns 2. rhns is installed with group root 3. rhn-apache is installed after rhns Expected results: 1. rhn-apache is installed before rhns 2. rhns can successfully be installed with group apache Additional info: This will need to be cloned for rhel 4 U2 up2date as well.
Created attachment 117551 [details] proxy installation rhn_check -vvv output
If anything, this is either a packaging bug, or an rpm bug, since the transaction ordering is all done by librpm based on the package info. up2date doesn't influence the package transaction ordering.
I think this is a jconnor bug... punting to him. This may be a misa bug. Also... that "warning" is misleading. The code really *has* to be installed with the apache group permissions. It's a warning according to RPM, but not to our app-stack.
when did this start happening? what are the versions of rhns/rhn-apache/httpd/etc involved and where can I find them? what version of rpm?
A quick glance at rhns-4.0.0-165.rhel4 doesn't show any requires on rhn-apache: [root@test07 ~]# rpm -q --requires rhns config(rhns) = 4.0.0-165.rhel4 python rhnlib >= 1.8 rpm-python rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 There doesn't seem to be anything in the packages to enfore an ordering, so this looks to be a packaging bug.
SHould be fixed in rhns-4.0.0-173 and newer.
ok, well ... it seems to be working now anyway. [root@test07 log]# rpm -q rhns rhns-4.0.0-185.rhel3 [root@test07 log]# rpm -q up2date up2date-4.4.44-3
reverified with [root@test07 ~]# rpm -q rhns rhns-4.0.0-186.rhel4 [root@test07 ~]# rpm -q up2date up2date-4.4.50-4
verified these packages exist in prod: rhns-4.0.0-186.rhel4 up2date-4.4.50-4 moving to CLOSED.