Bug 794913 - jetty user creation is broken
Summary: jetty user creation is broken
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: jetty
Version: 17
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Stanislav Ochotnicky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 795876 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-17 21:56 UTC by Orion Poplawski
Modified: 2012-03-10 02:09 UTC (History)
5 users (show)

Fixed In Version: jetty-8.1.0-4.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-10 02:09:41 UTC
Type: ---


Attachments (Terms of Use)

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.


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