Re: [PATCH iproute2] Allow to configure /var/run/netns directory

2018-05-23 Thread Stephen Hemminger
On Fri, 18 May 2018 15:44:00 -0700 Pavel Maltsev 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

Re: [PATCH iproute2] Allow to configure /var/run/netns directory

2018-05-18 Thread Pavel Maltsev
Thanks, Stephen, I've uploaded new patch as you suggested by putting these variables in the makefile rather than configure script. On Fri, May 18, 2018 at 2:53 PM Stephen Hemminger wrote: > > On Tue, 15 May 2018 14:49:46 -0700 > Pavel Maltsev wrote: > > > Currently NETNS_RUN_DIR is hardcoded an

[PATCH iproute2] Allow to configure /var/run/netns directory

2018-05-18 Thread Pavel Maltsev
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 variab

Re: [PATCH iproute2] Allow to configure /var/run/netns directory

2018-05-18 Thread Stephen Hemminger
On Tue, 15 May 2018 14:49:46 -0700 Pavel Maltsev 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

[PATCH iproute2] Allow to configure /var/run/netns directory

2018-05-15 Thread Pavel Maltsev
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 variab