Bug 988858 - ipa-replica-install puts 'ulimit -n 8192' in /etc/sysconfig/dirsrv
ipa-replica-install puts 'ulimit -n 8192' in /etc/sysconfig/dirsrv
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa (Show other bugs)
7.0
Unspecified Unspecified
medium Severity unspecified
: rc
: ---
Assigned To: Martin Kosek
Namita Soman
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-26 11:03 EDT by Rich Megginson
Modified: 2014-06-17 20:10 EDT (History)
3 users (show)

See Also:
Fixed In Version: ipa-3.3.1-1.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-06-13 05:23:49 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rich Megginson 2013-07-26 11:03:12 EDT
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 11:38:57 EDT
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/3823
Comment 3 Namita Soman 2013-07-31 15:00:13 EDT
Please add steps to verify
Comment 4 Rich Megginson 2013-07-31 15:18:06 EDT
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 10:39:36 EDT
Fixed upstream:

master: 6961cf2e77cca8f3784a6d82cebeb0bb8df1f535
ipa-3-3: 509e579472800a75fccb89c9fb83614744d80c87
Comment 7 Scott Poore 2013-12-18 15:26:51 EST
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 05:23:49 EDT
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.