[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 911f7cb4756583c1706744541d270c9ae637313b
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
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")) -%]

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits