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 85F95A00C3; Wed, 2 Feb 2022 22:07:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F70940688; Wed, 2 Feb 2022 22:07:24 +0100 (CET) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id 2D26E40141 for ; Wed, 2 Feb 2022 22:07:23 +0100 (CET) Received: by mail-pf1-f169.google.com with SMTP id e6so372239pfc.7 for ; Wed, 02 Feb 2022 13:07:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Nvv/0Bo3E1NU31t9tY8S14GNu0TXZ0ZlDt9Sc8126D4=; b=17TTIlf6pbQbBoJDQfcJjjNkJeqLRN97Q1sHgLjX8iK+FunPn42Bx5MQLHoHCjNotq DICPu70yxeQR2rk93tnZQ8dqFPWCa6tEvuft7szIkNI4P1R1uTGwbOz3V8n8bvWjVtVD sZdlH2VWWsXE1pBkentK2aHqDLz9glu08Vbm2/F0w6zzos6+uN0ghcwdngEfU+wNLrpy 8g0u8s67i3fD6dYnITdZnfkC4ba7EmGmExNmQzxfdiHvWnddyfziv90WuXKeUy68TiQN dJWT3l5NB3s5Pyo8hrzqzqNzHOmlNQsNX2xrZ61oqdMB5LJkFoBIOnLIw/uY4RDL072E 1gkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Nvv/0Bo3E1NU31t9tY8S14GNu0TXZ0ZlDt9Sc8126D4=; b=jZCte0a/4Ydswjx+2QJg7YGhBiblLUHEMQJ62kzyVbe/3R+BOVAOxSpaC90FnebHn2 Xvk1bW0DZQkgFDzZtDxdlMdMIAi7mZrmPfnzuTDi7ZNovBSfxCR8d2/J1egnvr/1JFDB iGvLsjZ13WXf0e1qCeV1YjPXdIHjSkYkrkqvwBi0FYW0cMDuDANbXNgSLj4Yjs/19RNE OvwXqoBxnzJ9PG8ztJCjB5ddDB1oHXKLcNiVarEOOtFDfJ8sUqJAX5nirtgabim3Lu0b 2mIPP/vKKTa80zaFvVuUIB/6u6bUVNzGyWDojyOWHzsFn1eIKscyGwxdn7adZbW9U4k1 HaQQ== X-Gm-Message-State: AOAM530LFB4R1/ufO3PNrqccRUHpxdhEO5rbUz1SmBUrGyNvYfOfcwhm lHQblol9GFnLD5Q2+8TV+DYQQQ== X-Google-Smtp-Source: ABdhPJz+zItIHYZtQVZhQNWNtNAhhP2IJTKdRz6QLS/N2vX4i5QZaIbGpPLF56XhI4UDTJDbSh3mtw== X-Received: by 2002:a62:52d4:: with SMTP id g203mr31450087pfb.19.1643836042293; Wed, 02 Feb 2022 13:07:22 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id 12sm7343173pjd.33.2022.02.02.13.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 13:07:21 -0800 (PST) Date: Wed, 2 Feb 2022 13:07:19 -0800 From: Stephen Hemminger To: Thomas Monjalon Cc: dev@dpdk.org, Bruce Richardson , david.marchand@redhat.com Subject: Re: [RFC] eal: support systemd service convention for runtime directory Message-ID: <20220202130719.7bb0200a@hermes.local> In-Reply-To: <1675633.yIU609i1g2@thomas> References: <20211223233907.181033-1-stephen@networkplumber.org> <1675633.yIU609i1g2@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Wed, 02 Feb 2022 22:03:44 +0100 Thomas Monjalon wrote: > 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? Was waiting for any more responses, not urgent