Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1192412 - Reserve static gid/uid for jboss user (all MW & OpenShift layers impact)
Summary: Reserve static gid/uid for jboss user (all MW & OpenShift layers impact)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: setup
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ondrej Vasik
QA Contact: Jan Ščotka
URL:
Whiteboard:
Depends On:
Blocks: 1192088
TreeView+ depends on / blocked
 
Reported: 2015-02-13 10:07 UTC by Vaclav Tunka
Modified: 2017-03-21 11:34 UTC (History)
3 users (show)

Fixed In Version: setup-2.8.14-22.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-21 11:34:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 995045 0 medium CLOSED Review Request: wildfly - WildFly Application Server 2022-05-16 11:32:56 UTC
Red Hat Product Errata RHBA-2017:0760 0 normal SHIPPED_LIVE setup bug fix and enhancement update 2017-03-21 12:46:55 UTC

Internal Links: 995045

Description Vaclav Tunka 2015-02-13 10:07:44 UTC
Description of problem:
Currently then the EAP product is being installed in the RPM version a jboss user and jboss group is being created, although it does not use static uid/gids:

JBOSS_SHELL=/sbin/nologin
%{_sbindir}/groupadd -r jboss 2>/dev/null || :
%{_sbindir}/useradd -c JBossAS -r -s $JBOSS_SHELL -d %{_localstatedir}/lib/jbossas -g jboss jboss 2>/dev/null || :

This is a problem, because the generated uid can conflict with some services. A static user and group id should be used.

Additionally, in the Cloud Enablement team we are preparing initial Docker images for JBoss products. Every product will be used launched as a regular jboss user. We need to base on a registered uid/gid to not choose an ID that could possibly conflict with some other service. Using static uid/gid in Docker is crucial, because the system administrator need to know upfront the id's to set up the volumes permissions for the selected user.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Vaclav Tunka 2015-02-13 11:32:43 UTC
See the technical discussion in the EAP BZ and RHEL BZ, this is just for tracking purposes for RHEL6.

Comment 12 errata-xmlrpc 2017-03-21 11:34:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0760.html


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