Red Hat Bugzilla – Bug 165379
proxy installer is installing rhns before rhn-apache, causes warning
Last modified: 2007-04-18 13:30:17 EDT
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):
rhel 3 u5 AS
Steps to Reproduce:
1. install a proxy on RHEL 3 U5 AS or RHEL 4 U1 AS box using up2date-4.4.36-x
1. "warning: group apache does not exist - using root" when preparing to install
2. rhns is installed with group root
3. rhn-apache is installed after rhns
1. rhn-apache is installed before rhns
2. rhns can successfully be installed with group apache
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
when did this start happening?
what are the versions of rhns/rhn-apache/httpd/etc involved and where can I find
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
rhnlib >= 1.8
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
[root@test07 log]# rpm -q up2date
[root@test07 ~]# rpm -q rhns
[root@test07 ~]# rpm -q up2date
verified these packages exist in prod:
moving to CLOSED.