however am facing this error. It appears that the containers cannot modify sysctl parameters (which kind of makes sense since it'd affect the kernel parameters everywhere)... And fails to install because of it.
I've checked https://docs.gitlab.com/omnibus/common_installation_problems/#failed-to-modify-kernel-parameters-with-sysctl and found that it's a common issue. However the method described to modify the sysctl parameters on the host (which I have access to) doesn't apply to the container. Bypassing this sysctl thing in the GitLab script doesn't seem to work either, something is overwriting /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb to uncomment that function or change back a modified command (to force return 0).
I'm all out of ideas. Any way I could make this work? Or alternatively some other Git interface that is not cgit (tried that one already)
I'm gonna try one more thing and that is making that file immutable after editing it. Ugly as fuck but I want to make this work and not have to worry about kernel parameters (which quite frankly a container shouldn't touch anyway)
Check this out for alternatives (at the bottom of the page see the section "But I'm a fan of service Foo"): http://linuxmafia.com/faq/Essays/winolj.html Read the entire essay if you haven't, it's good.
other git interface: Gitea?
Обсуждают сегодня