RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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 2021-02-22 00:41:40 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.