From: Grant Slater Date: Thu, 22 Dec 2022 16:20:11 +0000 (+0000) Subject: mediawiki: Actually allow AF_UNIX. X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/bb64eef67c1f74156fc71d67df7fe6d2877a3015 mediawiki: Actually allow AF_UNIX. --- diff --git a/cookbooks/mediawiki/recipes/default.rb b/cookbooks/mediawiki/recipes/default.rb index af0e645a0..59638e4e9 100644 --- a/cookbooks/mediawiki/recipes/default.rb +++ b/cookbooks/mediawiki/recipes/default.rb @@ -87,6 +87,7 @@ systemd_service "mediawiki-sitemap@" do nice 10 sandbox :enable_network => true memory_deny_write_execute false + restrict_address_families "AF_UNIX" read_write_paths "/srv/%i" end @@ -102,6 +103,7 @@ systemd_service "mediawiki-jobs@" do nice 10 sandbox :enable_network => true memory_deny_write_execute false + restrict_address_families "AF_UNIX" read_write_paths "/srv/%i" end @@ -118,6 +120,8 @@ systemd_service "mediawiki-email-jobs@" do nice 10 sandbox :enable_network => true memory_deny_write_execute false + restrict_address_families "AF_UNIX" + read_write_paths "/srv/%i" end systemd_timer "mediawiki-email-jobs@" do @@ -133,6 +137,8 @@ systemd_service "mediawiki-refresh-links@" do nice 10 sandbox :enable_network => true memory_deny_write_execute false + restrict_address_families "AF_UNIX" + read_write_paths "/srv/%i" end systemd_timer "mediawiki-refresh-links@" do