From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 836FEA00C3; Wed, 2 Feb 2022 22:03:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 13EED40688; Wed, 2 Feb 2022 22:03:49 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id 5301540141 for ; Wed, 2 Feb 2022 22:03:48 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 2895C320215F; Wed, 2 Feb 2022 16:03:47 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 02 Feb 2022 16:03:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=r/6wYNgY1NTS4B 5yfL0nvsgdHS8FAWywb4sNtZ3Kt74=; b=fekACfJ4FkHg0CRZdVFGFo+4I0fsMO 9hst8HhSJNRuYlQKjURZSnUM91d4sDUMlfUu1Ta+P9123A0ybU6P9fJg+dr4juMb 1F6G6JrMK0mKmAqEcHpRGVwDSv/4blMXE/2Yn5RIy4kjEPuMWvT7eTAilrwxBRN9 V5jd3mUuEyHjvRrZ/AJJIFHx+4fZpP0Fr9YbbnO3k8wX40Bwp+Yr9Jwa29Bi66wP oK0ny9sDIxatcN94a+SOaYS6dUKp6KFDJOOFUREnuz/QnMJifw4ZudXOnCwXxjxf hCiLTBo1W1Q3Fjeejp8zU/BTUhSVZ9PMJ243vuEYhIK4X1WofY/PKQjA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=r/6wYNgY1NTS4B5yfL0nvsgdHS8FAWywb4sNtZ3Kt 74=; b=bnIZ9eNkOG/isT3SL0mCmEgasgq5NWcudp0czB/o4XUV4T1wQi3xWARWH VIBmcRSPolb3yEmvh1mbj7OZQZje493hGSOVXGSpljTkCrHnIS5/Rv/CqqeQKgRw Dht5CFUVlNdo/K5lchOZqOjmoMDYCgNXf0zcv552RbRVY/kKAy2/uA78fEvilHLc t6vPrySINjzivuEz1Gom1j+hgsXczCk9vmBEj0yPMTTyKK48tOrtCJMbJfL7tJOi Qnz5qj+4U++m8DEnfgp//n5beKec3yZafJnJgZAcfkxsIcOd5fjJUGxwub0zl8dD dUG7HHk0biNro0GW0k8XpDCYAAYBA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrgeehgddugeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 2 Feb 2022 16:03:45 -0500 (EST) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, Bruce Richardson , david.marchand@redhat.com Subject: Re: [RFC] eal: support systemd service convention for runtime directory Date: Wed, 02 Feb 2022 22:03:44 +0100 Message-ID: <1675633.yIU609i1g2@thomas> In-Reply-To: References: <20211223233907.181033-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 07/01/2022 13:07, Bruce Richardson: > On Thu, Dec 23, 2021 at 03:39:07PM -0800, Stephen Hemminger wrote: > > Systemd.exec supports configuring the runtime directory of a service > > via RuntimeDirectory=. This creates the directory with the necessary > > permissions which actual service may not have if running in container. > > > > The change to DPDK is to look for the environment RUNTIME_DIRECTORY > > first and use that in preference to the fallback alternatives. > > > > Signed-off-by: Stephen Hemminger > > --- > > lib/eal/linux/eal.c | 23 ++++++++++++----------- > > 1 file changed, 12 insertions(+), 11 deletions(-) > > > Seems reasonable. The path lookup for telemetry in the dpdk-telemetry.py > script will need updating to match this. Any followup? Do you plan a v2 to address comments from Morten and Bruce?