[RFC] eal: support systemd service convention for runtime directory
Bruce Richardson
bruce.richardson at intel.com
Fri Jan 7 13:07:18 CET 2022
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 <stephen at networkplumber.org>
> ---
> 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.
Otherwise:
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list