mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +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;
|
||||
# System Call Filtering
|
||||
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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user