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

not sure when we get around for a fix really
A quick workaround for you maybe to:

1.) apt-get install openbravo-3 (will fail)
2.) vim /var/lib/dpkg/info/openbravo-3.preinst (and comment out the
shmmax adjustment)
as needed one of the following to continue install
3.a) dpkg --configure --pending
3.b) apt-get -f install

Another alternative.
Did you think on using our openbravo appliance image and run that in a
docker container? So no need to take fresh ubuntu + install anything?
As that will give you a much more polished install anyway compared to the ppa?

We do run that image internally in lxc-containers so maybe an
interesting alternative for you.

Stefan

On Sun, Dec 28, 2014 at 5:40 PM, Alberto Ruiz <aruiz@xxxxxxxxx> wrote:
> Hello Gorka,
>
> Do you think you can ship a fix for this anytime soon?
>
> --
> 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


References