← Back to team overview

openbravo-isv team mailing list archive

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

 

Hi Alberto.

Since is a container probably is simply taking the value from the
host, you could try to edit this value in the host.

Regards,
Gorka

On Fri, Dec 26, 2014 at 9:29 AM, Alberto Ruiz <aruiz@xxxxxxxxx> wrote:
> 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openbravo-isv
> Post to     : openbravo-isv@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openbravo-isv
> More help   : https://help.launchpad.net/ListHelp

-- 
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


References