Errors during omnibus installation

I was rebuilding my gitlab server and I wanted to switch from running it on source to omnibus to simplify the upgrade path. And I am getting this error

    execute[load sysctl conf net.core.somaxconn] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/sysctl.rb line 60) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '255'
    ---- Begin output of cat /etc/sysctl.conf /etc/sysctl.d/*.conf  | sysctl -e -p - ----
    STDOUT:
    STDERR: sysctl: setting key "kernel.sem": Read-only file system
    sysctl: setting key "kernel.shmall": Read-only file system
    sysctl: setting key "kernel.shmmax": Read-only file system
    ---- End output of cat /etc/sysctl.conf /etc/sysctl.d/*.conf  | sysctl -e -p - ----
    Ran cat /etc/sysctl.conf /etc/sysctl.d/*.conf  | sysctl -e -p - returned 255

In my case I know the cause for this, it is running within an LXC container and that is read only for the container.

But the question I have is “should tuning the operating system be part of the install?” From a software life cycle process you are outside of the scope of your program’s execution domain. I think that portion would be better as a tuning script that is optional.