Description of problem: The %pre script was modified for this version to set the piranha user shell to /sbin/nologin. For some reason the line continuation seems to be broken and useradd is complaining that it can't add user ' '. [root@link-01 piranha]# rpm -hiv piranha-0.7.9-1.x86_64.rpm Preparing... ########################################### [100%] useradd: invalid user name ' ' 1:piranha ########################################### [100%] warning: user piranha does not exist - using root warning: user piranha does not exist - using root warning: user piranha does not exist - using root ========================= Relevant parts D: install: %pre(piranha-0.7.9-1) execv(/bin/sh) pid 4130 + /usr/sbin/groupadd -g 60 -r -f piranha + /usr/sbin/useradd -u 60 -g 60 -d /etc/sysconfig/ha -r ' ' useradd: invalid user name ' ' + -s /sbin/nologin piranha + :with more verbosity: Version-Release number of selected component (if applicable): piranha-0.7.9-1 How reproducible: 100% Steps to Reproduce: 1. rpm -ivh piranha-0.7.9-1 2. 3. Actual results: piranha user not created Expected results: piranha user created Additional info:
Lon has fixed (errant space after line continuation character "\"). Verified in piranha-0.7.10-2.
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 the 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/RHBA-2004-470.html