From 5063f73c609c338934d1b765a11c2510fd2f776668d2636f49675553efc49d1f Mon Sep 17 00:00:00 2001 From: Nicolas Morey-Chaisemartin Date: Thu, 13 Oct 2022 14:37:10 +0000 Subject: [PATCH] Accepting request 1010489 from home:NMoreyChaisemartin:branches:science:HPC Add missing patch OBS-URL: https://build.opensuse.org/request/show/1010489 OBS-URL: https://build.opensuse.org/package/show/science:HPC/rdma-core?expand=0&rev=164 --- ...able-systemd-ProtectHostName-feature.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 rdma-ndd-disable-systemd-ProtectHostName-feature.patch 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