git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/hylafax: enable `ProtectKernelLogs` for most services

Also document that `ProtectClock` blocks access to serial line. I couldn't found out why this is the case, but faxgetty complains about the device file not being accessible with `ProtectClock=true`.

commitc2af1ff281e44225d1f560f17e49103c70075015 authorYarny0 <41838844+Yarny0@users.noreply.github.com> dateThu 13 May 2021, 20:59 (6 years ago) parent4415846
1 file changed+2
nixos/modules/services/networking/hylafax/systemd.nix+2
nixos/modules/services/networking/hylafax/systemd.nix+2
@@ -106,8 +106,10 @@ let
106106 PrivateDevices = true; # breaks /dev/tty...
107107 PrivateNetwork = true;
108108 PrivateTmp = true;
109+ #ProtectClock = true; # breaks /dev/tty... (why?)
109110 ProtectControlGroups = true;
110111 #ProtectHome = true; # breaks custom spool dirs
112+ ProtectKernelLogs = true;
111113 ProtectKernelModules = true;
112114 ProtectKernelTunables = true;
113115 #ProtectSystem = "strict"; # breaks custom spool dirs