Bug 794913

Summary: jetty user creation is broken
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: jettyAssignee: Stanislav Ochotnicky <sochotni>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17CC: akurtako, java-sig-commits, jjohnstn, overholt, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: jetty-8.1.0-4.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-10 02:09:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Orion Poplawski 2012-02-17 21:56:22 UTC
Description of problem:

The BuildRequires on fedora-usermgmt-devel and %{?FE_USERADD_REQ} was removed but %pre and %postun still make use of the macros defined in there.  This results in those macros not getting expanded at build time:

# rpm -q --scripts jetty
preinstall scriptlet (using /bin/sh):
# Add the "jetty" user and group
%__fe_groupadd 110 -r jetty &>/dev/null || :
# Use /bin/sh so init script will start properly.
%__fe_useradd  110 -r -s /bin/sh -d /usr/share/jetty -M          \
                    -g jetty jetty &>/dev/null || :


postuninstall scriptlet (using /bin/sh):
%__fe_userdel  jetty &>/dev/null || :
%__fe_groupdel jetty &>/dev/null || :


12:41:12 Installing jetty-8.1.0-1.fc17.noarch
/var/tmp/rpm-tmp.YheWdg: line 2: fg: no job control
/var/tmp/rpm-tmp.YheWdg: line 4: fg: no job control
warning: user jetty does not exist - using root
warning: group jetty does not exist - using root
warning: user jetty does not exist - using root
warning: group jetty does not exist - using root
warning: user jetty does not exist - using root
warning: group jetty does not exist - using root

Comment 1 Stanislav Ochotnicky 2012-02-22 15:06:25 UTC
*** Bug 795876 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Admin XMLRPC Client 2012-02-23 09:02:51 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Update System 2012-02-23 16:45:22 UTC
jetty-8.1.0-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/jetty-8.1.0-3.fc17

Comment 4 Fedora Update System 2012-02-23 22:29:48 UTC
Package jetty-8.1.0-3.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing jetty-8.1.0-3.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2282/jetty-8.1.0-3.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-02-24 10:55:30 UTC
jetty-8.1.0-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/jetty-8.1.0-4.fc17

Comment 6 Fedora Update System 2012-03-10 02:09:41 UTC
jetty-8.1.0-4.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.