mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
nixos/radicale: give access to /dev/urandom
A git command was failing in the test with error: unable to get random bytes for temporary file: Operation not permitted error: unable to create temporary file: Operation not permitted error: .Radicale.lock: failed to insert into database error: unable to index file '.Radicale.lock'
This commit is contained in:
parent
850f536749
commit
ae758a85d7
@ -164,7 +164,7 @@ in {
|
||||
StateDirectoryMode = "0750";
|
||||
# Hardening
|
||||
CapabilityBoundingSet = [ "" ];
|
||||
DeviceAllow = [ "/dev/stdin" ];
|
||||
DeviceAllow = [ "/dev/stdin" "/dev/urandom" ];
|
||||
DevicePolicy = "strict";
|
||||
IPAddressAllow = mkIf bindLocalhost "localhost";
|
||||
IPAddressDeny = mkIf bindLocalhost "any";
|
||||
|
Loading…
Reference in New Issue
Block a user