From patchwork Mon May 15 22:47:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9728169 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 369DB60386 for ; Mon, 15 May 2017 22:48:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 229D528464 for ; Mon, 15 May 2017 22:48:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17928288B0; Mon, 15 May 2017 22:48:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8EB622882F for ; Mon, 15 May 2017 22:48:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752350AbdEOWr6 (ORCPT ); Mon, 15 May 2017 18:47:58 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:11237 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752342AbdEOWrv (ORCPT ); Mon, 15 May 2017 18:47:51 -0400 X-IronPort-AV: E=Sophos;i="5.38,346,1491235200"; d="scan'208";a="17886598" Received: from mail-sn1nam01lp0116.outbound.protection.outlook.com (HELO NAM01-SN1-obe.outbound.protection.outlook.com) ([207.46.163.116]) by ob1.hgst.iphmx.com with ESMTP; 16 May 2017 06:47:46 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=85G4HqIrmwaupqam6U8BOa714QcMOTYibAi9KkOBnCM=; b=NfD98+TwCbSSSGGEwKlvB3cDdEpj4NxYUQsaCKO5/JJyyhE9NF+mr9yrLHj5FmtqmzAfe4jDlBbuT0UUsrCeM/7QjPeiLcjUYo+2WILMDfC6haEumInTKX4IrlELLJUx/ucSC3QPoTFZcq7y97H2B1jsUMLEW0YzBbFzD9PvEJo= Received: from CO2PR04CA0116.namprd04.prod.outlook.com (10.165.95.18) by BLUPR04MB707.namprd04.prod.outlook.com (10.141.206.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Mon, 15 May 2017 22:47:43 +0000 Received: from CO1NAM04FT003.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::202) by CO2PR04CA0116.outlook.office365.com (2603:10b6:104:7::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16 via Frontend Transport; Mon, 15 May 2017 22:47:43 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by CO1NAM04FT003.mail.protection.outlook.com (10.152.90.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1075.5 via Frontend Transport; Mon, 15 May 2017 22:47:42 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 1A.32.19026.D003A195; Mon, 15 May 2017 15:47:41 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Mon, 15 May 2017 15:47:36 -0700 X-AuditID: 0ac94371-41ba798000004a52-07-591a300d4bec Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 73.E3.11415.8003A195; Mon, 15 May 2017 15:47:36 -0700 (PDT) From: Bart Van Assche To: Doug Ledford CC: , Jason Gunthorpe , Leon Romanovsky , Bart Van Assche Subject: [PATCH rdma-core 4/5] srp_daemon: Move srp_daemon.service from the redhat directory to the srp_daemon directory Date: Mon, 15 May 2017 15:47:26 -0700 Message-ID: <20170515224733.29586-5-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170515224733.29586-1-bart.vanassche@sandisk.com> References: <20170515224733.29586-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMLMWRmVeSWpSXmKPExsXCddJ5kS6vgVSkwc5HUhYvz39gtfh+w9Ti ZN8/Zotnh3pZHFg8nk0/zOTxfUcvo8f7fVfZPD5vkgtgieKySUnNySxLLdK3S+DK+Pt0KXPB d76K9nkrWBoYT/J0MXJySAiYSEztecbWxcjFISSwlEni7YXnjBDONkaJq8s+s8JU9d7ZDJXY zCix/P5xRpAEm4CRxLf3M1lAbBEBNYlNrxaxgxQxC6xhlPix5ReQw8EhLFAhsXF9GYjJIqAq 0bpDGqScV8Be4uea+UwQ8+Ulzm7ZyQxicwo4SPy9+ZQJpFwIpOa0GkRJE6vE37MlEK2CEidn PgHbyiwgIXHwxQuwViEBdYmTS+YzTWAUmoWkbBaSsgWMTKsYxXIzc4pz01MLDE30ihPzUjKL s/WS83M3MUKCunAH4+vb3ocYBTgYlXh4V6yQjBRiTSwrrsw9xCjBwawkwsvBLRUpxJuSWFmV WpQfX1Sak1p8iFGag0VJnDdLdmqEkEB6YklqdmpqQWoRTJaJg1OqgTHDj90n+7OOyY44X7fv W9LiA86dP7SkkcvgzpoHUW++/9tQdczZ44WoOrM3V+3NaZN0tCcnhInpZD7Tlu//5nI4/YP/ LVW5Nf/ZimqmKJnybv2rqtQpeFjW+2bP7VtstgqVcnrqcU1bD0r+V1+hlJLe8VK72/jI04y7 eVoKOUtCFysp/u2IV2Ipzkg01GIuKk4EAMbvcrxmAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrEJMWRmVeSWpSXmKPExsXCtZEjRZfDQCrSYMUNU4uDP9sYLV6e/8Bq 8R3IO9n3j9ni2aFeFgdWj2fTDzN5fN/Ry+jxft9VNo9pa84zeXzeJBfAGsVlk5Kak1mWWqRv l8CV8ffpUuaC73wV7fNWsDQwnuTpYuTkkBAwkei9s5mxi5GLQ0hgI6PEhCvvmUESbAJGEt/e z2QBsUUE1CQ2vVrEDmIzC6xhlNi4FyjOwSEsUCGxcX0ZiMkioCrRukMapIJXwF7i0ocrLBDj 5SXObtkJNpFTwEHi782nTCDlQkA1P0+rTWDkXsDIsIpRLDczpzg3PbPA0FCvODEvJbM4Wy85 P3cTIzgUOCN3MD6daH6IkYmDU6qBMchM1z5wTam/6AaDdycm+8m/nr/mlMEvKW+NVwpH6rds cZy5i/nfQgP20wkZdx5Yeq2uZd7Hoqta5rNAJFnCZakwW8OFlOrF3XL/RW8/v7UgQrffs3DO q1W/PJ9YsGdUpFzuU+qot1wh/EJefOFC5Zj3GQqaFZ9Nfs3aW/z1zuZL+nUnrW9+UGIpzkg0 1GIuKk4EAG0CZtG1AQAA MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39410400002)(39840400002)(39450400003)(39860400002)(39850400002)(39400400002)(2980300002)(438002)(199003)(189002)(9170700003)(36756003)(50466002)(8676002)(189998001)(356003)(5660300001)(38730400002)(110136004)(107886003)(8936002)(50226002)(53936002)(72206003)(47776003)(478600001)(54906002)(76176999)(50986999)(77096006)(2906002)(2950100002)(305945005)(86362001)(4326008)(6916009)(6666003)(33646002)(81166006)(106466001)(1076002)(5003940100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR04MB707; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT003; 1:C+/6ST/fds8/5wgmSjKgDJtOga09hTgXAQ1dHShNLBjXHQ0OxvBClqBruISZzy/QOp7Khaph/BTQ8Rro5PlQ51zcHXRww4eG1xKoGdVo0sgYwXpIeSZ0uiJQJ8kExwmbIloyLz7l3z8SQiTBmdS1c3/9w2Up1jvTby7KZ0Io/eosT/nnMzKr4aTLbZrfz/SGjbbFBcgriWytrkyPd7U002//UJU05l7+kFr0pzfe6kEnOKM0dxOmHnoGsXq+20zJqXNZT2oS67kHOKMPpui+cqtTkaIkcjAM5A2wm2KxW3YjmuSPk9JtPDMHTsvwZgTF7wkqmmd2hIxWs8M2J2Yi6VhWnEMF7lvuwHqnViuYTn8yqvTUd6ESVAvpRYkoa+1oWqoa2f7/FSTRRwrFm61jbkgZD4y4AdJjK/TU0RHRg+7f3LVU8TN0259Rb3g1c6y59YIg2Fjq6cZYAbH4tn1aZmAH/QPFFtk0H5kH/CBdb3xSnIsttWj3NMe/m5ekLcTju/8I+sn/t7RpxUypU/pD6A== X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e195a7ca-1a47-4068-6f41-08d49be465d7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BL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6EJM=; 31:iGOUAzd3w23LtW9REoXs8yG4PxX8mTvX/+T+c+dXUw1hsmaKj52lxGuS1mXSf1gKMLqqW66pkCLk215j7vSsn1d7qAU70D9+9fjftdOPdrQo3XAe4zMOzOpuiohgYFAV3veu8w2E/t2/oUdd/MDOjj0SZmWW/hZDNSS3yFFYUD7SAJ9lGN3N2cZ9bi9DnuZzfwViU74yXty/UVxtTVa7i69Hko13gG8R+K7G6TQkGBel2gAqXEDA6ifHRKG/gM3c WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB707; 20:vAGTO7I8wtLuS/wGMKf+enapsER1Pkl1Xxj43D7QxwTo79HN6k7282quLiSQLNwr+e7m0I8nBv85WJrQsutc2KhOernS36S9AWWyeaB3vqUMcCLV71wU45Vq6LZaS9D/xu1QZlibkykpaKxzV1Y6claEMMKodcODSwKZS0Sg9EGsicWJXAoCkCno7+2k03EuRHXYOdmwHRiXYxTWH44Q6UzW4L4LeX+wxHwlQrujx44OHQolE//10XgQ/oM++osMqi7vnUe8nkilhnME8idBYmncpp27bGrcgRbZJ53ETQm/syNBEtqwVn1LVQhcHZQVrNUNCu3IsFc7FQbMeNNWfuj9MaxocePo2n05bEtaw/LmB9013b2LRU2tDG8B1oipluSz4zMWfGpw44oIgOCfaXfBk3Bx7PYd/IGc7sNnn2qz8t8AFf2UQF7eqt+xiVKIqWPudDiZYu6ZtaTYbRfII1ps4GpE5xdagT1oXckR4mirnqO48+leEpLGk6mqdzCO X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13018025)(13016025)(5005006)(8121501046)(3002001)(93006095)(93004095)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6072148); SRVR:BLUPR04MB707; BCL:0; PCL:0; RULEID:; SRVR:BLUPR04MB707; X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB707; 4:tePAcxgqZOuuvt6GkAMJkMbVnY1Y79gXNtlMvABb500nSKd1OC6bxbwzQlVg0jVgjekzyT6ZfMGJTGEIPboP7EyhYkzOdoGWt6NPyxTDJduYTdI5MaBqB8qh0bUssqyqkpVSl12NOmzMEqjqcdOe07L5TJLlKFemMjQ0Q/CJQJvMBJKiwaV9T8DDp6lsmBF/c0VH+57zdIQ2LVMIiaxiKTC18Fz+DF6KcawnTueJcw+ACv0AxSK9y50sFix35Q3v8MeVUDeTz+vfyErjhjs1q3WNv80OvQqFr2Xhr5f6svlNH05QZp2OkUNrjQJJoQ9OhEeqJqErMtPlmUaizesmYuQoID1SmGyIHDFLh3m62mXwsC8QjNlAwwc5++y/M6h6VlzQHcBOuACOJtncvuc1cmQ+tjDB4s+HHW8hkcbsENIFTZxTMu4ooaV8v5w+bvGt40/W0FR3/4ytX3kg2t9W2m4HXn//SiEtvLL++NYtv0LuBNh1Ho8MxW4SbqogSxPeDPAUjBBultm0cS3gV5AECKR5ChOL75XKWtlo3NY+FiCTX5NPj5pWkUf3DNuXehjYNo+1i9xFluy8TLXxW9oyEuzVuvjILcL7wXzvq5V08kO+dsXvoHYVaJi9GD9wf6lktRzQRFn1c34WiIKPxeqSi1KuBewTMwI4QC19i298rYzaLHlQZCZIznuW0F5Nqw61RLTw4Jy46BRrbvUfTHm8G3UMqUY7WXaJzwwZUo6GaeV3iXwWe/OSKSmngVVzzvii8/wDV9+DePB+YaXwcSi++e81th5muLEhMdGq5TXGwFf9l6GF+lYvxD73o2m2pxQ4QavC5D/s0ouwLDWmwctjnngv4SWBN84lIwBup+htDVlSwc2gArolg5QLVxOdkWoo X-Forefront-PRVS: 0308EE423E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR04MB707; 23:8DljVSL+ABEOK/RWXG8AxFO6YlJ7+6odpiRiEYHMTg?= =?us-ascii?Q?qr+0iJnd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C0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB707; 7:spSI6nBQ9InAYUpqcad9rIU2teAm3uwSJWpsPxFyuB0tX12tyDkgFp6xrj34T0I/L8C7aFVmVqYglWUzNex4VqT6GWfcFKy8EyQ/YsRPtw6ivz8wHloUK2sTyitcaDGlgnt3gxCPauQUHk58AOXq5juA1IkjNpSQxOo7XewvlxabUhvhU2jIs5sAgrzt+rNbLF8/wOcK7kWD9ktVWt1nL/7N62SDvbDCxyRlh1Ni7TcMynIfGgJ/LocS5zQykDEAuvhEFs+M6w3sZ3L7eqM1DyyOXKVu7qnVUHR124K0e0C2fWv9ca8fJG5dlN59tflokGZUN8T5COb0EvrQv0WvrA==; 20:9ciiMXeXxfFLt7KQlkroJcYRIa+pN9EarTST8nQ9KaGwhy4J4f9ASEVN2ovd+MUOGCCUSy5RxI92NlKr7/7ZxAj92jgSI6VPGjTfzU+xMqSE5ZLQyrN7Lvga/phFWER1b3bM2iO/kR7cGk4R2CdoWKHauog3tmIx9jwSSk/jLZM= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2017 22:47:42.6892 (UTC) X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=b61c8803-16f3-4c35-9b17-6f65f441df86; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR04MB707 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since this systemd unit file works fine on at least one other distro (openSuSE), move it from the redhat/ directory into the srp_daemon/ directory. Move the code for installing this service from the Red Hat RPM spec file into srp_daemon/CMakeLists.txt. Signed-off-by: Bart Van Assche --- redhat/rdma-core.spec | 3 --- srp_daemon/CMakeLists.txt | 2 ++ {redhat => srp_daemon}/srp_daemon.service | 0 3 files changed, 2 insertions(+), 3 deletions(-) rename {redhat => srp_daemon}/srp_daemon.service (100%) diff --git a/redhat/rdma-core.spec b/redhat/rdma-core.spec index 1095b2fc..993a6c80 100644 --- a/redhat/rdma-core.spec +++ b/redhat/rdma-core.spec @@ -273,9 +273,6 @@ bin/ib_acme -D . -O install -D -m0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/ install -D -m0644 redhat/ibacm.service %{buildroot}%{_unitdir}/ -# srp_daemon -install -D -m0644 redhat/srp_daemon.service %{buildroot}%{_unitdir}/ - # Delete the package's init.d scripts rm -rf %{buildroot}/%{_initrddir}/ diff --git a/srp_daemon/CMakeLists.txt b/srp_daemon/CMakeLists.txt index 726696ed..24e4c30d 100644 --- a/srp_daemon/CMakeLists.txt +++ b/srp_daemon/CMakeLists.txt @@ -27,6 +27,8 @@ rdma_subst_install(FILES "srp_daemon.sh.in" install(FILES srp_daemon.conf DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}") +install(FILES srp_daemon.service DESTINATION "${CMAKE_INSTALL_SYSTEMD_SERVICEDIR}") + # FIXME: The ib init.d file should really be included in rdma-core as well. set(RDMA_SERVICE "openibd" CACHE STRING "init.d file service name to order srpd after") # NOTE: These defaults are for CentOS, packagers should override. diff --git a/redhat/srp_daemon.service b/srp_daemon/srp_daemon.service similarity index 100% rename from redhat/srp_daemon.service rename to srp_daemon/srp_daemon.service