From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:55637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUQuS-0000iC-8U for guix-patches@gnu.org; Sat, 25 May 2019 03:16:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUQuQ-0008He-A2 for guix-patches@gnu.org; Sat, 25 May 2019 03:16:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34493) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUQuQ-0008HW-6f for guix-patches@gnu.org; Sat, 25 May 2019 03:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hUQuQ-0004sB-0k for guix-patches@gnu.org; Sat, 25 May 2019 03:16:02 -0400 Subject: [bug#35895] [PATCH 0/1] linux-container: Remove networking service when network is shared with host. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:55488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUQtd-0000VB-1J for guix-patches@gnu.org; Sat, 25 May 2019 03:15:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUQgd-0001zg-QO for guix-patches@gnu.org; Sat, 25 May 2019 03:01:48 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:49372) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUQgc-0001tp-Lf for guix-patches@gnu.org; Sat, 25 May 2019 03:01:47 -0400 From: Arun Isaac Date: Sat, 25 May 2019 12:31:13 +0530 Message-Id: <20190525070113.5576-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35895@debbugs.gnu.org When the container network is shared with the host, the loopback and networking services fail. This causes other services, like nginx, which depend on the loopback and networking services to also fail. Hence, when the network is to be shared with the host, we must replace the static-networking-service-type with a new dummy-networking-service-type that does nothing but simply provide loopback and networking. Arun Isaac (1): linux-container: Remove networking service when network is shared with host. gnu/system/linux-container.scm | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) -- 2.21.0