Bug 700595 - Unable to install wallaby w/o condor
Summary: Unable to install wallaby w/o condor
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: wallaby
Version: 2.0
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: 2.0.1
: ---
Assignee: Will Benton
QA Contact: Tomas Rusnak
URL:
Whiteboard:
Depends On:
Blocks: 723887
TreeView+ depends on / blocked
 
Reported: 2011-04-28 18:20 UTC by Robert Rati
Modified: 2011-09-07 16:45 UTC (History)
5 users (show)

Fixed In Version: wallaby-0.10.5-5
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2011-09-07 16:45:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1249 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Grid 2.0 security, bug fix and enhancement update 2011-09-07 16:40:45 UTC

Description Robert Rati 2011-04-28 18:20:48 UTC
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:

Comment 1 Will Benton 2011-05-18 19:29:49 UTC
This is fixed upstream.

Comment 2 Martin Kudlej 2011-06-16 12:20:08 UTC
On which version of RHEL can we reproduce this?

Comment 3 Will Benton 2011-06-16 12:55:45 UTC
You should be able to reproduce it on any machine that does not have a "condor" group.

Comment 4 Will Benton 2011-07-14 18:12:02 UTC
    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.

Comment 5 Martin Kudlej 2011-07-20 10:05:31 UTC
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?

Comment 6 Robert Rati 2011-07-20 13:29:30 UTC
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).

Comment 8 Tomas Rusnak 2011-07-28 16:51:10 UTC
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!

Comment 9 Tomas Rusnak 2011-07-29 13:21:15 UTC
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

Comment 10 Eva Kopalova 2011-08-09 10:38:06 UTC
    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.

Comment 11 errata-xmlrpc 2011-09-07 16:45:46 UTC
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


Note You need to log in before you can comment on or make changes to this bug.