← Back to team overview

openbravo-isv team mailing list archive

[Bug 1405501] Re: preinst script fails when /proc/sys/kernel/shmmax is too big

 

Hello Gorka,

Yeah, that's the error.

This is the value provided inside a Docker container, for security
reasons I cannot change the value at all, so I can't create a Docker
container running Openbravo (which is killing me right now because you
are not providing a 14.04 PPA plus I really want to serve Openbravo from
within a container).

Basically I can't remount /proc/sys as rw at all and I can't tell Docker
to use a lower number globally.

-- 
You received this bug notification because you are a member of Openbravo
ERP, which is subscribed to Openbravo ERP.
https://bugs.launchpad.net/bugs/1405501

Title:
  preinst script fails when  /proc/sys/kernel/shmmax is too big

Status in Openbravo ERP:
  New

Bug description:
  I am trying to install Openbravo in a Ubuntu Precise Docker container.
  The value of /proc/sys/kernel/shmmax is 18446744073692774399 which
  Dash/Bash fails to compare to the minimum SHMMAX value and makes the
  preinst script abort the package installation.

  This prevents the package from being installable as /proc is mounted
  read-only

To manage notifications about this bug go to:
https://bugs.launchpad.net/openbravo-erp/+bug/1405501/+subscriptions


Follow ups

References