[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180523153058.7d5e021c@xeon-e3>
Date: Wed, 23 May 2018 15:30:58 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Pavel Maltsev <pavelm@...gle.com>
Cc: netdev@...r.kernel.org, lorenzo@...gle.com
Subject: Re: [PATCH iproute2] Allow to configure /var/run/netns directory
On Fri, 18 May 2018 15:44:00 -0700
Pavel Maltsev <pavelm@...gle.com> wrote:
> Currently NETNS_RUN_DIR is hardcoded and refers to /var/run/netns.
> However, some systems (e.g. Android) doesn't have /var
> which results in error attempts to create network namespaces on these
> systems. This change makes NETNS_RUN_DIR configurable at build time
> by allowing to pass environment variable to make command.
> Also, this change makes /etc/netns directory configurable through
> NETNS_ETC_DIR environment variable.
>
> For example: ./configure && NETNS_RUN_DIR=/mnt/vendor/netns make
>
> Tested: verified that iproute2 with configuration mentioned above
> creates namespaces in /mnt/vendor/netns
>
> Signed-off-by: Pavel Maltsev <pavelm@...gle.com>
Applied, thanks.
Powered by blists - more mailing lists