nixos/cjdns: fix service for i686 (#40740)
service failed to start because of MemoryDenyWriteExecute = true, which seems not to work on i686
This commit is contained in:
parent
8bcec815bd
commit
f4ec18aaac
@ -260,7 +260,8 @@ in
|
|||||||
RestartSec = 1;
|
RestartSec = 1;
|
||||||
CapabilityBoundingSet = "CAP_NET_ADMIN CAP_NET_RAW CAP_SETUID";
|
CapabilityBoundingSet = "CAP_NET_ADMIN CAP_NET_RAW CAP_SETUID";
|
||||||
ProtectSystem = true;
|
ProtectSystem = true;
|
||||||
MemoryDenyWriteExecute = true;
|
# Doesn't work on i686, causing service to fail
|
||||||
|
MemoryDenyWriteExecute = !pkgs.stdenv.isi686;
|
||||||
ProtectHome = true;
|
ProtectHome = true;
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user