Ofer Schreiber has uploaded a new change for review.

Change subject: packaging: engine-setup should allow the minumum shmmax
......................................................................

packaging: engine-setup should allow the minumum shmmax

engine-setup should allow the minimun shmmax defined.

Change-Id: I2fc14ddd29c0aca7f3f5712ac176b50d55785b2a
Signed-off-by: Ofer Schreiber <oschr...@redhat.com>
Bug-Url: https://bugzilla.redhat.com/1059355
(cherry picked from commit 0a88c4b88d5f3edbd707b0252ec13e30217c9938)
---
M packaging/setup/plugins/ovirt-engine-setup/system/sysctl.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/68/23868/1

diff --git a/packaging/setup/plugins/ovirt-engine-setup/system/sysctl.py 
b/packaging/setup/plugins/ovirt-engine-setup/system/sysctl.py
index 550c691..78b4858 100644
--- a/packaging/setup/plugins/ovirt-engine-setup/system/sysctl.py
+++ b/packaging/setup/plugins/ovirt-engine-setup/system/sysctl.py
@@ -149,7 +149,7 @@
         # Verify shmmax is set correctly
         shmmax = self._get_shmmax()
 
-        if shmmax <= self.environment[osetupcons.SystemEnv.SHMMAX]:
+        if shmmax < self.environment[osetupcons.SystemEnv.SHMMAX]:
             self.logger.debug(
                 'sysctl kernel.shmmax is %s lower than %s' % (
                     shmmax,


-- 
To view, visit http://gerrit.ovirt.org/23868
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2fc14ddd29c0aca7f3f5712ac176b50d55785b2a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Ofer Schreiber <oschr...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to