mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
grsecurity doc: describe work-around for gitlab
Fixes https://github.com/NixOS/nixpkgs/issues/20959
This commit is contained in:
parent
8ff31be4c2
commit
f39d13cd3e
1 changed files with 13 additions and 0 deletions
|
@ -325,6 +325,19 @@
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
|
|
||||||
|
<listitem><para>
|
||||||
|
The gitlab service (<xref linkend="module-services-gitlab" />)
|
||||||
|
requires a variant of the <literal>ruby</literal> interpreter
|
||||||
|
built without `mprotect()` hardening, as in
|
||||||
|
<programlisting>
|
||||||
|
services.gitlab.packages.gitlab = pkgs.gitlab.override {
|
||||||
|
ruby = pkgs.ruby.overrideAttrs (attrs: {
|
||||||
|
postFixup = "paxmark m $out/bin/ruby";
|
||||||
|
});
|
||||||
|
};
|
||||||
|
</programlisting>
|
||||||
|
</para></listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue