Ofer Schreiber has submitted this change and it was merged.
Change subject: packaging: Don't modifiy limits.conf during setup
......................................................................
packaging: Don't modifiy limits.conf during setup
Instead of modifying the /etc/security/limits.conf it is better to
drop a small file in the /etc/security/limits.d directory.
For platforms using systemd to manage services the above will not
work ans systemd ignores completely the limits.conf and limits.d
directory. Instead of that the limits have to be specified in the
file defining the service.
This also fixes the name of the user, which should be ovirt
instead of jbossas.
Change-Id: Ib64ce87bd7ddf2749d2d1de85668250d5c59f779
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M Makefile
A packaging/fedora/engine-service.limits
M packaging/fedora/engine-service.systemd
M packaging/fedora/setup/basedefs.py
M packaging/fedora/setup/engine-setup.py
M packaging/fedora/setup/output_messages.py
M packaging/fedora/spec/ovirt-engine.spec.in
7 files changed, 9 insertions(+), 65 deletions(-)
Approvals:
Juan Hernandez: Verified
Ofer Schreiber: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/5375
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib64ce87bd7ddf2749d2d1de85668250d5c59f779
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi(a)redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib(a)redhat.com>