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 988858 - ipa-replica-install puts 'ulimit -n 8192' in /etc/sysconfig/dirsrv
Summary: ipa-replica-install puts 'ulimit -n 8192' in /etc/sysconfig/dirsrv
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Martin Kosek
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-26 15:03 UTC by Rich Megginson
Modified: 2014-06-18 00:10 UTC (History)
3 users (show)

Fixed In Version: ipa-3.3.1-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 09:23:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rich Megginson 2013-07-26 15:03:12 UTC
Description of problem:
RHEL7 is a systemd system - /etc/sysconfig/dirsrv is in systemd EnvironmentFile format, which means no shell commands or other shell-isms.  ipa-replica-install puts

ulimit -n 8192

in this file.  It correctly puts

LimitNOFILE=8192

in /etc/sysconfig/dirsrv.systemd

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Martin Kosek 2013-07-26 15:38:57 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/3823

Comment 3 Namita Soman 2013-07-31 19:00:13 UTC
Please add steps to verify

Comment 4 Rich Megginson 2013-07-31 19:18:06 UTC
steps:
run ipa-server-install
grep ^ulimit /etc/sysconfig/dirsrv should return nothing

run ipa-replica-install
grep ^ulimit /etc/sysconfig/dirsrv should return nothing

Comment 5 Martin Kosek 2013-09-03 14:39:36 UTC
Fixed upstream:

master: 6961cf2e77cca8f3784a6d82cebeb0bb8df1f535
ipa-3-3: 509e579472800a75fccb89c9fb83614744d80c87

Comment 7 Scott Poore 2013-12-18 20:26:51 UTC
Verified.

Version ::

ipa-server-3.3.3-5.el7.x86_64

Test Results ::


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: ipa_bugcheck_bz988858:  ipa-replica-install puts 'ulimit -n 8192' in /etc/sysconfig/dirsrv
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

ipa-server-3.3.3-5.el7.x86_64
:: [   PASS   ] :: File '/etc/sysconfig/dirsrv' should not contain '^[ ]*ulimit -n' 
:: [   PASS   ] :: BZ 988858 not found

Comment 8 Ludek Smid 2014-06-13 09:23:49 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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