public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Pavel Maltsev <pavelm@google.com>
Cc: netdev@vger.kernel.org, lorenzo@google.com
Subject: Re: [PATCH iproute2] Allow to configure /var/run/netns directory
Date: Wed, 23 May 2018 15:30:58 -0700	[thread overview]
Message-ID: <20180523153058.7d5e021c@xeon-e3> (raw)
In-Reply-To: <20180518224400.201511-1-pavelm@google.com>

On Fri, 18 May 2018 15:44:00 -0700
Pavel Maltsev <pavelm@google.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@google.com>

Applied, thanks.

  reply	other threads:[~2018-05-23 22:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18 22:44 [PATCH iproute2] Allow to configure /var/run/netns directory Pavel Maltsev
2018-05-23 22:30 ` Stephen Hemminger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-05-15 21:49 Pavel Maltsev
2018-05-18 21:53 ` Stephen Hemminger
2018-05-18 22:48   ` Pavel Maltsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180523153058.7d5e021c@xeon-e3 \
    --to=stephen@networkplumber.org \
    --cc=lorenzo@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=pavelm@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox