[tbb-commits] [tor-browser-build/master] Bug 31293: Make sure the lo interface inside the containers is up

gk at torproject.org gk at torproject.org
Thu Oct 3 06:22:25 UTC 2019


commit 911f7cb4756583c1706744541d270c9ae637313b
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Wed Oct 2 17:57:58 2019 +0200

    Bug 31293: Make sure the lo interface inside the containers is up
---
 rbm.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rbm.conf b/rbm.conf
index 2fe2391..303f0bb 100644
--- a/rbm.conf
+++ b/rbm.conf
@@ -434,6 +434,8 @@ runc:
     EOF
     [% IF c("var/container/disable_network/" _ c("exec_name")) -%]
       sudo ip netns add 'rbm-[% sha256(c("build_id", { error_if_undef => 1 })) %]'
+      # make sure the lo interface is up (see bug 31293)
+      sudo ip netns exec 'rbm-[% sha256(c("build_id", { error_if_undef => 1 })) %]' ip link set lo up
     [% END -%]
     sudo runc [% IF c("var_p/runc100") %]run[% ELSE %]start[% END %] -b '[% c("var/container/dir") %]' rbm-[% sha256(c("build_id", { error_if_undef => 1 })) %] [% IF c("runc_hide_stderr") %]2>/dev/null[% END %]
     [% IF c("var/container/disable_network/" _ c("exec_name")) -%]



More information about the tbb-commits mailing list