Hi all,

I tried to omnibus GitLab install on the VM. Failed on:
       Expected process to exit with [0], but received '255'
      ---- Begin output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
      STDOUT:
      STDERR: sysctl: setting key "kernel.shmmax": Read-only file system
      ---- End output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
      Ran sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf returned 255
     
Due to: command "sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf" causing the error:
sysctl: setting key "kernel.shmmax": Read-only file system

Read-only of the /sys/ directory is typical the case with LCX containers... But the advice value of the shmax is:
cat /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
kernel.shmmax = 17179869184

I can complete the setup if you want, by using a workaround by commenting-out the related section in: /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb.
And run: gitlab-ctl reconfigure.

But I rather like to get this working in a correct manner.
Maybe somebody add at this shmmax statement above to the host /etc/sysctl.conf file?

Let me know if somebody can help me with this or which direction you want to go.

Ps. where are not the only one on the internet:
http://letmegooglethat.com/?q=STDERR%3A+sysctl%3A+setting+key+%22kernel.shmmax%22%3A+Read-only+file+system

Thx!

Kind regards,
Melroy van den Berg