mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 16:34:15 +03:00
nixos/gitea: fix commit signing (gpg
) core dump
Gitea spawns `gpg` processes for commit signing related actions. Those `gpg` processes need `mlock` (probably to prevent secrets in the memory to swap). Blocking it (as part of the `@memlock` preset) causes any commit signing related actions to error out as http/500
This commit is contained in:
parent
249f6c4c1d
commit
93c1d370db
@ -597,7 +597,7 @@ in
|
|||||||
PrivateMounts = true;
|
PrivateMounts = true;
|
||||||
# System Call Filtering
|
# System Call Filtering
|
||||||
SystemCallArchitectures = "native";
|
SystemCallArchitectures = "native";
|
||||||
SystemCallFilter = "~@clock @cpu-emulation @debug @keyring @memlock @module @mount @obsolete @raw-io @reboot @setuid @swap";
|
SystemCallFilter = "~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @setuid @swap";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
Loading…
Reference in New Issue
Block a user