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 puts ulimit -n 8192 in this file. It correctly puts LimitNOFILE=8192 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.
master: 6961cf2[[BR]] ipa-3-3: 509e579
Metadata Update from @mkosek: - Issue assigned to tbabej - Issue set to the milestone: FreeIPA 3.3.x - 2013/08 (bug fixing)
Login to comment on this ticket.