git.iko.soy/typeable/nixpkgs
on master help sign in
cjdns service: allow writing keys to /etc

20e81f7c0d56e0b179115ca72a85b81ff637d909 prevented key generation in `preStart`, leaving the service broken for the case where the user has no pre-existing key. Eventually, we ought to store the state elsewhere so that `/etc` can be read-only but for now we fix this the easy way.

commita0338afe5faa9f9e403e2caa52e4a8b60c272be9 authorJoachim Fasting <joachifm@fastmail.fm> dateSun 5 Feb 2017, 04:42 (10 years ago) parentf9c684e
1 file changed+1−1
nixos/modules/services/networking/cjdns.nix+1−1
nixos/modules/services/networking/cjdns.nix+1−1
@@ -260,7 +260,7 @@ in
260260 RestartSec = 1;
261261 CapabilityBoundingSet = "CAP_NET_ADMIN CAP_NET_RAW";
262262 AmbientCapabilities = "CAP_NET_ADMIN CAP_NET_RAW";
263− ProtectSystem = "full";
263+ ProtectSystem = true;
264264 MemoryDenyWriteExecute = true;
265265 ProtectHome = true;
266266 PrivateTmp = true;