#3823 ipa-replica-install puts 'ulimit -n 8192' in /etc/sysconfig/dirsrv
Closed: Fixed None Opened 7 years ago by mkosek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 988858

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

ulimit -n 8192

in this file.  It correctly puts


in /etc/sysconfig/dirsrv.systemd

Note from mkosek: we should also avoid this warning in /var/log/messages:

Jul 26 11:37:00 vm-119 systemd[1]: Ignoring invalid environment 'export KRB5_KTNAME=/etc/dirsrv/ds.     keytab': /etc/sysconfig/dirsrv

... and the "limits already set" error in ipa-server-install output.

Metadata Update from @mkosek:
- Issue assigned to tbabej
- Issue set to the milestone: FreeIPA 3.3.x - 2013/08 (bug fixing)

4 years ago

Login to comment on this ticket.