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 860221 - haproxy needs static uid/gid assignment
Summary: haproxy needs static uid/gid assignment
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: setup
Version: 6.4
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: rc
: ---
Assignee: Ondrej Vasik
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-25 09:53 UTC by Ryan O'Hara
Modified: 2012-10-15 09:06 UTC (History)
3 users (show)

Fixed In Version: setup-2.8.14-19.el6
Doc Type: Bug Fix
Doc Text:
Cause: haproxy is network load balancer and creates system user account haproxy. This account was created with dynamic assigned uid/gid. Consequence: Dynamic uid/gid assignment is not recommended for network daemons. Fix: Uid/gid pair 188:188 was reserved by setup package. Result: Haproxy package could create user haproxy with this static uid/gid.
Clone Of:
Environment:
Last Closed: 2012-10-15 09:06:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:1367 0 normal SHIPPED_LIVE setup bug fix update 2012-10-15 13:05:19 UTC

Description Ryan O'Hara 2012-09-25 09:53:09 UTC
Need static uid/gid for user/group 'haproxy'.

User: haproxy
Group: haproxy
Home: /var/lib/haproxy
Shell: /sbin/nologin

Comment 3 RHEL Program Management 2012-09-25 15:28:55 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 5 Ondrej Vasik 2012-09-27 16:36:01 UTC
Just one question - which package creates the user/group haproxy?
Btw. you should have the static uid assignment only if the user/group owns/stores sensitive data or communicates via network/virtual machines. Otherwise is perfectly fine to have dynamic assignment. Given the fact that the username contains word proxy, I expect static would be better in this case.

Comment 6 Ryan O'Hara 2012-09-27 16:41:03 UTC
(In reply to comment #5)
> Just one question - which package creates the user/group haproxy?
> Btw. you should have the static uid assignment only if the user/group
> owns/stores sensitive data or communicates via network/virtual machines.
> Otherwise is perfectly fine to have dynamic assignment. Given the fact that
> the username contains word proxy, I expect static would be better in this
> case.

The haproxy package creates the haproxy user/group. You are correct in assuming that haproxy communicates over a network -- haproxy is a network load balancer. Thanks.

Comment 15 errata-xmlrpc 2012-10-15 09:06:58 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.

http://rhn.redhat.com/errata/RHBA-2012-1367.html


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