Bug 494538
Summary: | Installation of rhnmd brings in another 12 packages, including httpd | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Jan Pazdziora <jpazdziora> |
Component: | Monitoring | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 530 | CC: | cperry, mzazrivec, pthomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | sat530 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-09-10 18:49:23 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: | 463877 |
Description
Jan Pazdziora
2009-04-07 11:59:01 UTC
We've discussed the issue with Mirek briefly. One possibility is to just revert the part of that commit and do the useradd and groupadd (after getent) in rhnmd's .spec, just like we've done it before. Another possibility is to untangle rhnmd from monitoring, introduce new user name (rhnmd, perhaps) instead of the current nocpulse. That way we would not need to Conflict with that nocpulse-common nor Require it, and these packages could even coexist, in case we wanted to monitor the machine on which the Satellite or the scout is running. nocpulse account name is hardcoded in lots of probes. If we change the name we had to somehow provide upgrade of existing probes customer may have. Approved. Please use your best judgment to fix. Cliff and I think splitting out a separate common package might be the best option. I was thinking maybe a nocpulse-common-common or nocpulse-common-users package which is used for user creation and both rhnmd and nocpulse-common require... but heck, I will allow you guys to figure out the fix, even if it is to conflict with nocpulse-common again and allow rhnmd to do the user creation stuff. Cliff I split user creation to both packages. And in nocpulse-common just add to group apache if nocpulse user previously exist (due creation by rhnmd). Rhnmd and nocpulse-common now do not conflict and nocpulse-common is not prerequisite of rhnmd. Hopefuly when we make change in rhnmd we do not forget to update nocpulse-common and vice versa. Commited as 265c3cdfc4fddf463c6dfe66533cf63439d15bdb Fixed in: nocpulse-common-2.1.9-1, rhnmd-5.3.2-1 fails_qa Satellite-5.3.0-RHEL4-re20090414.0-i386-embedded-oracle.iso. tested on rhel4 satellite 530 with a rhel4 client. [root@fjs-0-07 ~]# up2date rhnmd Fetching Obsoletes list for channel: rhel-i386-as-4... ######################################## Fetching Obsoletes list for channel: rhn-tools-rhel-4-as-i386... ######################################## Fetching rpm headers... ######################################## Name Version Rel ---------------------------------------------------------- rhnmd 5.3.0 3.el4sat i386 Testing package set / solving RPM inter-dependencies... ######################################## apr-0.9.4-24.9.i386.rpm: ########################## Done. apr-util-0.9.4-22.el4.i386. ########################## Done. httpd-2.0.52-41.ent.4.i386. ########################## Done. httpd-suexec-2.0.52-41.ent. ########################## Done. nocpulse-common-2.1.8-1.el4 ########################## Done. The package nocpulse-common-2.1.8-1.el4sat is not signed with a GPG signature. Aborting... Package nocpulse-common-2.1.8-1.el4sat does not have a GPG signature. Aborting... [root@fjs-0-07 ~]# vi /etc/sysconfig/rhn/up2date [root@fjs-0-07 ~]# up2date rhnmd Fetching Obsoletes list for channel: rhel-i386-as-4... Fetching Obsoletes list for channel: rhn-tools-rhel-4-as-i386... Fetching rpm headers... ######################################## Name Version Rel ---------------------------------------------------------- rhnmd 5.3.0 3.el4sat i386 Testing package set / solving RPM inter-dependencies... ######################################## apr-0.9.4-24.9.i386.rpm: ########################## Done. apr-util-0.9.4-22.el4.i386. ########################## Done. httpd-2.0.52-41.ent.4.i386. ########################## Done. httpd-suexec-2.0.52-41.ent. ########################## Done. nocpulse-common-2.1.8-1.el4 ########################## Done. perl-DBI-1.40-9.i386.rpm: ########################## Done. perl-HTML-Parser-3.55-1.el4 ########################## Done. perl-IO-stringy-2.109-11.el ########################## Done. perl-URI-1.30-4.noarch.rpm: ########################## Done. perl-libwww-perl-5.79-5.noa ########################## Done. rhnmd-5.3.0-3.el4sat.i386.r ########################## Done. perl-HTML-Tagset-3.03-30.no ########################## Done. Preparing ########################################### [100%] Installing... 1:apr ########################################### [100%] 2:apr-util ########################################### [100%] 3:perl-HTML-Tagset ########################################### [100%] 4:perl-HTML-Parser ########################################### [100%] 5:perl-URI ########################################### [100%] 6:perl-libwww-perl ########################################### [100%] 7:perl-IO-stringy ########################################### [100%] 8:perl-DBI ########################################### [100%] 9:httpd ########################################### [100%] 10:httpd-suexec ########################################### [100%] 11:nocpulse-common ########################################### [100%] 12:rhnmd ########################################### [100%] The following packages were added to your selection to satisfy dependencies: Name Version Release -------------------------------------------------------------- apr 0.9.4 24.9 apr-util 0.9.4 22.el4 httpd 2.0.52 41.ent.4 httpd-suexec 2.0.52 41.ent.4 nocpulse-common 2.1.8 1.el4sat perl-DBI 1.40 9 perl-HTML-Parser 3.55 1.el4 perl-IO-stringy 2.109 11.el4 perl-URI 1.30 4 perl-libwww-perl 5.79 5 perl-HTML-Tagset 3.03 30 [root@fjs-0-07 ~]# You are trying to install rhnmd-5.3.0-3.el4sat, but fix was in rhnmd-5.3.2-1 The new package has not been included in this iso due rel-eng (nanny?) mistake. Will have to wait till next iso. *** Bug 496958 has been marked as a duplicate of this bug. *** verified [root@rlx-3-24 ~]# yum install rhnmd Loaded plugins: rhnplugin, security rhel-i386-server-5 | 1.3 kB 00:00 primary.xml.gz | 2.0 MB 00:00 rhel-i386-server-5 5223/5223 rhn-tools-rhel-i386-server-5 | 871 B 00:00 primary.xml.gz | 32 kB 00:00 rhn-tools-rhel-i386-server-5 406/406 Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package rhnmd.i386 0:5.3.0-4.el5sat set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: rhnmd i386 5.3.0-4.el5sat rhn-tools-rhel-i386-server-5 16 k Transaction Summary ================================================================================ Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 16 k Is this ok [y/N]: y Downloading Packages: rhnmd-5.3.0-4.el5sat.i386.rpm | 16 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : rhnmd [1/1] Installed: rhnmd.i386 0:5.3.0-4.el5sat Complete! # rpm -q --requires rhnmd /bin/bash /bin/sh /bin/sh /bin/sh /bin/sh config(rhnmd) = 5.3.0-4.el5sat libc.so.6 libc.so.6(GLIBC_2.1.3) openssh openssh-server rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rtld(GNU_HASH) # rpm -q rhnmd rhnmd-5.3.0-4.el5sat RELEASE_PENDING 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/RHEA-2009-1434.html |