if test $_systemd_version -ge 247; then
systemd_protect_proc=y
fi
+ if test $_systemd_version -ge 248; then
+ systemd_private_ipc=y
+ fi
])
])
AM_CONDITIONAL([HAVE_SYSTEMD_DYNAMIC_USER], [ test x"$systemd_dynamic_user" = "xy" ])
AM_CONDITIONAL([HAVE_SYSTEMD_MEMORY_DENY_WRITE_EXECUTE], [ test x"$systemd_memory_deny_write_execute" = "xy" ])
AM_CONDITIONAL([HAVE_SYSTEMD_PERCENT_T], [ test x"$systemd_percent_t" = "xy" ])
AM_CONDITIONAL([HAVE_SYSTEMD_PRIVATE_DEVICES], [ test x"$systemd_private_devices" = "xy" ])
+ AM_CONDITIONAL([HAVE_SYSTEMD_PRIVATE_IPC], [ test x"$systemd_private_ipc" = "xy" ])
AM_CONDITIONAL([HAVE_SYSTEMD_PRIVATE_MOUNTS], [ test x"$systemd_private_mounts" = "xy" ])
AM_CONDITIONAL([HAVE_SYSTEMD_PRIVATE_TMP], [ test x"$systemd_private_tmp" = "xy" ])
AM_CONDITIONAL([HAVE_SYSTEMD_PRIVATE_USERS], [ test x"$systemd_private_users" = "xy" ])
if !HAVE_SYSTEMD_PROTECT_PROC
$(AM_V_GEN)perl -ni -e 'print unless /^ProtectProc/' $@
endif
+if !HAVE_SYSTEMD_PRIVATE_IPC
+ $(AM_V_GEN)perl -ni -e 'print unless /^PrivateIPC/' $@
+endif
+if !HAVE_SYSTEMD_REMOVE_IPC
+ $(AM_V_GEN)perl -ni -e 'print unless /^RemoveIPC/' $@
+endif
pdns@.service: pdns.service
$(AM_V_GEN)sed -e 's!/pdns_server!& --config-name=%i!' \
if !HAVE_SYSTEMD_MEMORY_DENY_WRITE_EXECUTE
$(AM_V_GEN)perl -ni -e 'print unless /^MemoryDenyWriteExecute/' $@
endif
+if !HAVE_SYSTEMD_PRIVATE_IPC
+ $(AM_V_GEN)perl -ni -e 'print unless /^PrivateIPC/' $@
+endif
+if !HAVE_SYSTEMD_REMOVE_IPC
+ $(AM_V_GEN)perl -ni -e 'print unless /^RemoveIPC/' $@
+endif
ixfrdist@.service: ixfrdist.service
$(AM_V_GEN)sed -e 's!/ixfrdist!& --config $(sysconfdir)/ixfrdist-%i.yml!' \
if !HAVE_SYSTEMD_MEMORY_DENY_WRITE_EXECUTE
$(AM_V_GEN)perl -ni -e 'print unless /^MemoryDenyWriteExecute/' $@
endif
+if !HAVE_SYSTEMD_PRIVATE_IPC
+ $(AM_V_GEN)perl -ni -e 'print unless /^PrivateIPC/' $@
+endif
+if !HAVE_SYSTEMD_REMOVE_IPC
+ $(AM_V_GEN)perl -ni -e 'print unless /^RemoveIPC/' $@
+endif
dnsdist@.service: dnsdist.service
$(AM_V_GEN)sed -e 's!/dnsdist !&--config $(sysconfdir)/dnsdist-%i.conf !' \
SystemCallFilter=~ @clock @debug @module @mount @raw-io @reboot @swap @cpu-emulation @obsolete
ProtectProc=invisible
MemoryDenyWriteExecute=true
+PrivateIPC=true
+RemoveIPC=true
[Install]
WantedBy=multi-user.target
SystemCallFilter=~ @clock @debug @module @mount @raw-io @reboot @swap @cpu-emulation @obsolete
ProtectProc=invisible
MemoryDenyWriteExecute=true
+PrivateIPC=true
+RemoveIPC=true
[Install]
WantedBy=multi-user.target
SystemCallFilter=~ @clock @debug @module @mount @raw-io @reboot @swap @cpu-emulation @obsolete
ProtectProc=invisible
MemoryDenyWriteExecute=true
+PrivateIPC=true
+RemoveIPC=true
[Install]
WantedBy=multi-user.target
if !HAVE_SYSTEMD_MEMORY_DENY_WRITE_EXECUTE
$(AM_V_GEN)perl -ni -e 'print unless /^MemoryDenyWriteExecute/' $@
endif
+if !HAVE_SYSTEMD_PRIVATE_IPC
+ $(AM_V_GEN)perl -ni -e 'print unless /^PrivateIPC/' $@
+endif
+if !HAVE_SYSTEMD_REMOVE_IPC
+ $(AM_V_GEN)perl -ni -e 'print unless /^RemoveIPC/' $@
+endif
pdns-recursor@.service: pdns-recursor.service
$(AM_V_GEN)sed -e 's!/pdns_recursor!& --config-name=%i!' \
SystemCallFilter=~ @clock @debug @module @mount @raw-io @reboot @swap @cpu-emulation @obsolete
ProtectProc=invisible
MemoryDenyWriteExecute=true
+PrivateIPC=true
+RemoveIPC=true
[Install]
WantedBy=multi-user.target