diff --git a/rdma-ndd-disable-systemd-ProtectHostName-feature.patch b/rdma-ndd-disable-systemd-ProtectHostName-feature.patch new file mode 100644 index 0000000..a3e2f91 --- /dev/null +++ b/rdma-ndd-disable-systemd-ProtectHostName-feature.patch @@ -0,0 +1,25 @@ +commit c2c0691b60c682f5cd368864a2acfac31654b5d3 +Author: Nicolas Morey-Chaisemartin +Date: Thu Oct 13 09:49:12 2022 +0200 + + rdma-ndd: disable systemd ProtectHostName feature + + ProtectHostName prevents dynamic name changes to be noticed by the service. + This means that on a system with no static hostname, rdma-ndd is started with + a hostname 'localhost' and is not aware of new hostname retreived + through a DHCP lease. + + Signed-off-by: Nicolas Morey-Chaisemartin + +diff --git rdma-ndd/rdma-ndd.service.in rdma-ndd/rdma-ndd.service.in +index e3f8d1156ba9..368deec00b2c 100644 +--- rdma-ndd/rdma-ndd.service.in ++++ rdma-ndd/rdma-ndd.service.in +@@ -22,7 +22,6 @@ Restart=always + ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/rdma-ndd --systemd + ProtectSystem=full + ProtectHome=true +-ProtectHostname=true + ProtectKernelLogs=true + + # rdma-ndd is automatically wanted by udev when an RDMA device with a node description is present