On Thu, 2019-05-30 at 13:07 -0700, Andrew Ayer wrote:
> Package: iproute2
> Version: 4.20.0-2
> Severity: normal
> 
> Dear Maintainer,
> 
> Currently, iproute2 is built with the default NETNS_RUN_DIR of
> /var/run/netns[1].  Consequentially, if /var is a separate
> filesystem,
> it is not possible to use ip netns to manage network namespaces early
> in boot before /var is mounted[2], because the symlink from /var/run
> to
> /run does not exist.
> 
> This can be fixed by adding the following line to debian/rules under
> the definition of KERNEL_INCLUDE[3]:
> 
> export NETNS_RUN_DIR=/run/netns
> 
> Thanks,
> 
> Andrew
> 
> [1] 
> https://sources.debian.org/src/iproute2/4.20.0-2/Makefile/#L19
> 
> 
> [2] for example, in a udev rule to move interfaces to a different
> namespace
> 
> [3] 
> https://sources.debian.org/src/iproute2/4.20.0-2/debian/rules/#L23

Thanks for the suggestion, pushed to git so it will be part of the next
upload to experimental and then bullseye after buster ships.

-- 
Kind regards,
Luca Boccassi

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to