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
26 lines
1004 B
Diff
26 lines
1004 B
Diff
commit c2c0691b60c682f5cd368864a2acfac31654b5d3
|
|
Author: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
|
|
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 <nmoreychaisemartin@suse.com>
|
|
|
|
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
|