Description of problem: Installing wallaby w/o condor fails with the following error: Error in PREIN scriptlet in rpm package wallaby-0.10.5-4.fc14.noarch useradd: group 'condor' does not exist error: %pre(wallaby-0.10.5-4.fc14.noarch) scriptlet failed, exit status 6 error: install: %pre scriptlet failed (2), skipping wallaby-0.10.5-4.fc14 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This is fixed upstream.
On which version of RHEL can we reproduce this?
You should be able to reproduce it on any machine that does not have a "condor" group.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: C: In previous versions of the wallaby service, the wallaby package assumed the existence of a "condor" group. However, the wallaby package did not explicitly depend upon the condor package, which created this group. C: Attempts to install wallaby on a machine without a "condor" group would fail. F: The wallaby package will now create the "condor" group if necessary. R: Installation should now succeed on all machines.
I don't see this bug on RHEL5.6 and RHEL6.1 so I suggest to close this as not a bug. Do you agree?
Unless those versions of RHEL have the condor user created by the base OS install, which would be surprising, the version of RHEL shouldn't matter. It must be tested on a system that has never had condor installed on it (and therefore doesn't have the condor user in /etc/passwd or the group in /etc/group).
Reproduced - group condor doesn't exists. # grep condor /etc/group # rpm -q wallaby # yum install wallaby ... Installing: wallaby noarch 0.10.5-3.el5 ... useradd: unknown group condor error: %pre(wallaby-0.10.5-3.el5.noarch) scriptlet failed, exit status 6 error: install: %pre scriptlet failed (2), skipping wallaby-0.10.5-3.el5 Installed: wallaby.noarch 0:0.10.5-3.el5 Dependency Installed: ruby-wallaby.noarch 0:0.10.5-3.el5 Complete!
Retested over all supported platforms x86,x86_64/RHEL5,RHEL6: # yum install wallaby ... Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : wallaby 1/1 Installed: wallaby.noarch 0:0.10.5-6.el5 Complete! # grep condor /etc/group condor:x:107: Group was added by wallaby installation script. >>> VERIFIED
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,4 +1 @@ -C: In previous versions of the wallaby service, the wallaby package assumed the existence of a "condor" group. However, the wallaby package did not explicitly depend upon the condor package, which created this group. +In previous versions of the wallaby service, the wallaby package assumed the existence of a "condor" group. However, the wallaby package did not depend on the condor package, which creates this group, and the wallaby installation on a machine without a "condor" group failed. The wallaby package now creates a "condor" group if necessary and the installation succeeds on all machines.-C: Attempts to install wallaby on a machine without a "condor" group would fail. -F: The wallaby package will now create the "condor" group if necessary. -R: Installation should now succeed on all machines.
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/RHSA-2011-1249.html