From patchwork Mon May 15 22:47:32 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: 9728163 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 3FAAD60386 for ; Mon, 15 May 2017 22:47:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2AACD28464 for ; Mon, 15 May 2017 22:47:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F661288B0; Mon, 15 May 2017 22:47:57 +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 9A5F528464 for ; Mon, 15 May 2017 22:47:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752351AbdEOWrz (ORCPT ); Mon, 15 May 2017 18:47:55 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:61805 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752322AbdEOWrr (ORCPT ); Mon, 15 May 2017 18:47:47 -0400 X-IronPort-AV: E=Sophos;i="5.38,346,1491235200"; d="scan'208";a="114745211" Received: from mail-by2nam01lp0181.outbound.protection.outlook.com (HELO NAM01-BY2-obe.outbound.protection.outlook.com) ([216.32.181.181]) by ob1.hgst.iphmx.com with ESMTP; 16 May 2017 06:51:45 +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=PlAqSLONFAix4+NgKTyyow8T7x/UiTBBtS+Uwfy6hCDuthIuebHftLqECnNIkWXRsp9blP75cbBMUUNAPPDp2UDSR1i7uYr9BWx7OHPrwzCVZyL8zhHfzaOeGtXUDkfO8SZ5uOek4KKbJT/4SItktRCASnfB+/bCcEUwFFN8UZo= Received: from CO2PR04CA0116.namprd04.prod.outlook.com (10.165.95.18) by BY2PR0401MB0902.namprd04.prod.outlook.com (10.160.64.139) 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:45 +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:44 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; 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:44 +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 EB.32.19026.E003A195; Mon, 15 May 2017 15:47:42 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.8.100) 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:37 -0700 X-AuditID: 0ac94371-41ba798000004a52-0e-591a300e2c77 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 65.E3.11415.9003A195; Mon, 15 May 2017 15:47:37 -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:32 -0700 Message-ID: <20170515224733.29586-11-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+NgFrrKLMWRmVeSWpSXmKPExsXCddJ5kS6fgVSkQddkS4uX5z+wWny/YWpx su8fs8WzQ70sDiwez6YfZvL4vqOX0eP9vqtsHp83yQWwRHHZpKTmZJalFunbJXBl/H26lLng O19F+7wVLA2MJ3m6GDk5JARMJBqnL2LsYuTiEBJYyiTx4P0ddghnB6PE+j3b2WGqzmxaygyR 2Mwo0b/uNAtIgk3ASOLb+5lgtoiAmsSmV4vAupkF1jBK/NjyC8jh4BAWqJDYuL4MpIZFQFXi 241tbCA2r4CDxLvjJ1ghFshLnN2ykxnE5gSK/735lAmkVUjAXuLnaTWQkRICXawS15ZcZYHo FZQ4OfMJmM0sICFx8MULsF4hAXWJk0vmM01gFJqFpGwWkrIFjEyrGMVyM3OKc9NTCwxN9IoT 81Iyi7P1kvNzNzFCArtwB+Pr296HGAU4GJV4eFeskIwUYk0sK67MPcQowcGsJMLLwS0VKcSb klhZlVqUH19UmpNafIhRmoNFSZw3S3ZqhJBAemJJanZqakFqEUyWiYNTqoGxcG3P5kNfbgUY Cr973xH1pvKZtIbGryfx6yvevdGONFXxr3WNcv+T3C2oHfrkSGz1xuP9TIHLZsntSuRjf1xq yruhXnQtx445djvLZ5uqlR++euT2762cC2y2OvpPnqTAv65b9lDn5G+H3NhCvzr9me05XW+Z hs79ecdr6tujnBg7Z7HsSvmvxFKckWioxVxUnAgAkMSru2gCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMJMWRmVeSWpSXmKPExsXCtZEjRZfTQCrSYOVZRouDP9sYLV6e/8Bq 8f2GqcXJvn/MFs8O9bI4sHo8m36YyeP7jl5Gj/f7rrJ5TFtznsnj8ya5ANYoLpuU1JzMstQi fbsEroy/T5cyF3znq2ift4KlgfEkTxcjJ4eEgInEmU1LmbsYuTiEBDYySmz/O50ZJMEmYCTx 7f1MFhBbREBNYtOrRewgNrPAGkaJjXuB4hwcwgIVEhvXl4GEWQRUJb7d2MYGYvMKOEhcW7qL BWK+vMTZLTvBRnICxf/efMoE0iokYC/x87TaBEbuBYwMqxjFcjNzinPTMwsMDfWKE/NSMouz 9ZLzczcxgoOBM3IH49OJ5ocYmTg4pRoYI08uK/4/8QHHDK17qxdE/UxJ1qr66HFtyQqZymVH Hxu84n8/9QPPb5Ut2tz5u0uC1wbl74oqL7lZflBh4iqx/3cnNqw4HtV9bFnp/+WLVhxbuGr1 gaVX1M7/2rfzzc2pJifPrjU7mWsaaJV89u/a+qYl6d7pj65ZG82dUsC/5V11yba6D4aX705S YinOSDTUYi4qTgQAI9t9KrYBAAA= 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)(39450400003)(39410400002)(39400400002)(39850400002)(39860400002)(39840400002)(2980300002)(438002)(189002)(199003)(9170700003)(38730400002)(107886003)(110136004)(305945005)(5003940100001)(50226002)(6916009)(6666003)(2950100002)(36756003)(5660300001)(8676002)(50986999)(189998001)(81166006)(8936002)(76176999)(4326008)(86362001)(54906002)(1076002)(47776003)(53936002)(2906002)(72206003)(106466001)(356003)(478600001)(33646002)(50466002)(77096006); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0401MB0902; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT003; 1:g3iA5nFRJ8tmHJX+ToCmieF0LWnNZsSNZSi/Skb5E4d2jh8MIWetDflzSOPhFtYUfSzSBC7148FWV8jFYAvTDaT9NbKaYn3VUqfbHd3FnDzzrb83OTKO3RTjgkIqt3eVZMnJMSKrdBsX1WzphwMu4tWVZktGNInUXRoK7Ev9jcq4QiMyq5z7Grh6O0WEZCX26ZNL7Zw59ng4RiEWwPKEL74n1qvNpPGVzPjxppcT226CRAw/eX316nsO4jc+6K5cvL6hX3nI5JwioqXUZTops7PIhlguadOWU2SjUnZg2vDHzoBKvdxmOpZzhF6QhxkH7GlEgvLdWTTIDwrTNm5nnq0hwIV9hsrVnIw9KN0rhXw4/z5G8eDtLLbmKhkcHUulysBoDtUb0jQOxBRkf3rAlD+OipETHu98nsp9dzV1D24uwcIwN8llVt5ARxdnq7SWWDMs13jtxf6LtjQFAxvYU0fWNp6xpXMQMDiegr7B8dJ8dCgzntVjxX7NWjHFZsjXkWQ6DQwk0N0OhUYAi5YzHGQPBgOi7zX5BKVJ0stWMXAojQWHjDg/CmZVYEWxCPwO X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 776e23f0-1aa0-47f7-045e-08d49be466ae X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:BY2PR0401MB0902; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB0902; 3:SD539/qdY5YqNlfx3OCsDiBPjvPWQ1ppu7p1OaJt7hvFaFeiANZU7CJuVtQquZPGk8tQwYPwu16fpMKdbBAHcxZA9MDGsu4x61IOGZceQ1Ekjem3htgmMAQCwMfeZ+DmgbA+qMEpgoC7z0HPBX1B3QbEsSOAaecGSI9q9tuMPfwHbN5/kyFUTWMZYKqiqx9baHsSMiWiSZWUJN1zHmIAzKHxhbLzmAmjnsJRaV0JOjpWdgaabpSsiO8VgUv3lBNZjIXhZut7HIS9I8ub9HTn5azrbMa5wRQJ7WzcvVZ9JUp8x2R/LcQj9vklrnJS/y/SHJfNPHUvebMOkGllGKn4qYZWYz41Ad6LIels9vziezsHYFPA7OXPcYwcWK04Shkn6srXsrL+jE8Pvc35iWSrOT1+Dcu+4tuFFHfmrYHIHRAFXa1rle8dqKOtmJE7buho+AHH27Z4A69l5+b7u1idEVLOjfNodryHX+pNB2OaMIy/pdZEMghHJ+iQj/GqhxYGWC/FizScATEg+XkIUC0EWQ== X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB0902; 25:zXd4koEoQyhkdfjvGpe4TGMXWTv+AbGZKvHIlP/tMHb8dznBcfedXXejCPUl+S0S0Ht9POjFLo0mBsvGpguC1aHdo8UKamYkr/2Nk8kqHeAR2023Mr4lyjXBhJjZ8RqXDFAYXCiThoVWPib2sdw1DmGE6GOxn6irObi1ESedq05/cE90DpVp8qRBGjWszqXNCvy4TSr9BLPNGJkP1WHEEvRQXvH+JuyBeXBibiJ4ZObzlnFUuvms18igWkmpTaDs7ttP34/WzRn+lt26LkQc2SgLkXsXzXCc7yoUSRuoDq0qZq9kj1bL1X9UCCMV/vbHGeMg5Ub5NPJTw9nrOZ+TYeoSV+1Y67Nx+XkhSXRqdFIkRsn7/lgfTG9qERyIAMYJQD1x1nwAYPYsZhovbEeyDhVyKbKC6slZinT/z4mHlMRE63UZU3iqtqDFoNfA9m6jSdUEnPcAvDFkK6Y6r5nSIPotNxEy/Sa1CfmsL/WUxP8=; 31:khXqdOPabYk5y81vMS00PZY2pPZ+UKmwxfdNZqWo81I29R0m+AKIWcCGewQxY5/vIrYcBGPdxNtsPZ+1tzLV46kqhPrmPrCk82OYFV4XAW6N+lPWhDBZtaXGRD3hlj/ErSFsEs7Zy25sYFYTSVQJTtyrL/msQnY/kfZ4Fm2NW11juHWlPqe85EmEhpnD9Sgs/KIg+28GXKvS0yNinGlXDwIlrY1FgLEMP03aLs3m8+HK2oQS+YuMPBYE6+VmrKkM WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB0902; 20:UCad1wWN5zS1humtlMIXJSgVvL2o8BCOiNLIzg+v5gz5xDRNIlaB8zrRERMswcvLyyEEQiepZg0e7Pq5I+sjGuj90nCWlGyQAGK06I5yHV4yFhhT+vwKGT8v6Y1UtFcLALnX8x9fyDLf+QdnSlbNsfV0vEVIK9ckA4VXsMFfWv5ueoGwZiYaE7YfDf9VveeXtIXGPLRqab523wKhZRKUJk9KB+zBBuopYFX+C5FvTsPHtM+VxG9ybuVAJsbCE8BuEdvGGWu1LibGIIpadm0tvFbxNKnTvWVHJF3gARxRrp62StfE7gOP12Q6vxJaS4daaOGsBqIQC/RhMEVkaH0Rtet5dKPLWjnMcr7VrsBX7E8L3oVKpWIG/El5m51ghLvx9VlMEQUoVcTm7Qj55o2liuMTDXJjym5R8QqRaA22aMYhNFXz2NhV7lDZhm8LPsZ0jKEZQ/z/t4oEWabwlfXHsrz01rQuJrPjPxPO2QpyMN7/7Qrk4QuJtc8hbmgrZIzb 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)(8121501046)(5005006)(13016025)(3002001)(93006095)(93004095)(10201501046)(6055026)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(20161123558100)(20161123560025)(6072148); SRVR:BY2PR0401MB0902; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0401MB0902; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB0902; 4:oNfBX5VPyUYcaAh2YgSyM0U8G+tbyF4YWb8DXUOh0rjYXEBgDrYwpjRtiq6YTAipLfYSmpgpSLypdS0GcNohXKNl0QfWs/xFciLoZrBgsP98B4CdVmBZ9QwIxcElRNI2hm10fOIbtdgRedkkkXlux4WpQ39B7FPe3hkmh5893SicOAXL2c0rg2q4P0l9wAoI9XUpVi0YvoyWxLyCoMTj/F7BgurwBZMC7iy8BtDLIs8bndMu8Jz0xw/2y96+375S+k6CQtiN1Bdi0Qv3Ukb+sNhRnP7H6XQnawuAX6eCMx+BtRMmWZMclp7yw7shC3lOoEbTf6uRIovARBW9l1fcGhpGVmxvxKCoXawApa9olT3EEgAuqy7HGaNL5kZoywd8vQFXuGBENY/KtelHw//7iKSCJBz44560P1ryvU8tswDfY9TI0qli7Y0OTUI00ID0wVPBasf3Oiz8N20sJDxSiS6dlqtAoVqr1e7gLp3aTyyLcAK9SMGHKZjh/tOtl2Ws9lFapJSbGTInjHvPQHrNdjPLiHZg05uPR457vOxyeSTW8OGWYBmQUQOsHwbtDHmwshQbAZn6aPKrVX4cZKg+sHeTfcSfTxkUK2KBs10GefTY0UqdrNOA4JsIWDoRfOm2iOgm4E+mMGzdOiIuPDOxCAPAJKSQ7k9VAmU19/vXgGlYoI8yO6rlgxT0wlWvbPSOH13Ra2oaDZXy71l4FK2upB1kU4fySIdqZVmL00IZNGqlBVZRBgPMJ4FAOWFPX7cP9eis2QAraSKnpXXSKfMY0+h9AqiqsEqfmqTZ1ZPc1pxRKrTdFdlDxrsVIJ4Y04XWxUmgiQbjCLnkh6SzWbXF7ZW7eam7j+8J/arbJTtGKEBWkSgQwYJr4WKF/gJEjbZr X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c/Sszko90JgxrjxU8HFL3Ld+TmNajWwELU8FeHg==; 24:coYvzoG2QgLMGnqZeZdgYVLsx1cvu/lz0evSgsDxcm2aPgUk++PSFkP2Si/vldlpQ3epPA6dMKhszYXzJhoYcREUm3epSHhKLCZm+jzbaqQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB0902; 7:96eqXKzqcjfqp0lp/L6zwQ5/bAwjb8VOPcZEUYTkNdFzIKbNC6RYRoEkfv7I4D9XT0flpoqnCUH8UybRPSTbStsqYc2lYaWNQXYb4VTiNvqxsy5EgmmmRPMV5wPiH125QwymGEHlRjPTbBEssPg1v3fAX6gFiRpOJeuFmqDFpHMW/VbnTsQeqj3s5BTcK9YuwLjs2EkR/hcK4mMto4oCjloa95dvJGg6yEnn3HaSKX20Waejp6+SjzEzetSUVrL/+pbO2kFe8IX6ktKBnwN1Ge2v+SKNnnY8RLYuZU6XlxXTJJarwK3/vGTZG2IiOiw7pEDAnVPlmDW6cp+7KIKMrQ==; 20:sHKMqhBBrxK7/l/jOf8jfYrPHKX1B4v+EcXrnrIKw3cJveIYOFb0qkIJGRZJ/mcpaYL+BIsBJfbC5WEiewViNgHvI1bgDTuSGzboYfh4tmOGyiejZkf8PYQlHPtQP7/mSLpJ+r5y/vAKWZDEeDKoG9Pr2QUwRQbDmN5WuxEDqlw= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2017 22:47:44.0955 (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: BY2PR0401MB0902 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