]> git.openstreetmap.org Git - chef.git/commitdiff
Use default sandboxing for the gdnsd-reload service
authorTom Hughes <tom@compton.nu>
Wed, 9 Nov 2022 22:52:16 +0000 (22:52 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 9 Nov 2022 22:53:02 +0000 (22:53 +0000)
cookbooks/geodns/recipes/default.rb

index 3a166262c0e5669a297f7b2023df57be7462a2a9..8afa85cc550e909e8b9372686b39640c56f38bf5 100644 (file)
@@ -74,11 +74,8 @@ systemd_service "gdnsd-reload" do
   user "root"
   exec_start "/bin/systemctl reload-or-restart gdnsd"
   standard_output "null"
-  private_tmp true
-  private_devices true
-  protect_system "strict"
-  protect_home true
-  no_new_privileges true
+  sandbox true
+  restrict_address_families "AF_UNIX"
 end
 
 systemd_path "gdnsd-reload" do