From patchwork Sat May 25 07:01:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 14075 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 841D517027; Sat, 25 May 2019 08:16:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 26F4E16FFC for ; Sat, 25 May 2019 08:16:08 +0100 (BST) Received: from localhost ([127.0.0.1]:37358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUQuU-0000iV-Db for patchwork@mira.cbaines.net; Sat, 25 May 2019 03:16:06 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#35895] [PATCH 0/1] linux-container: Remove networking service when network is shared with host. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 May 2019 07:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35895@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155876852318677 (code B ref -1); Sat, 25 May 2019 07:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2019 07:15:23 +0000 Received: from localhost ([127.0.0.1]:48037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUQtn-0004rB-Ey for submit@debbugs.gnu.org; Sat, 25 May 2019 03:15:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUQtj-0004qu-RO for submit@debbugs.gnu.org; Sat, 25 May 2019 03:15:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:46793) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUQte-0007Rs-4v for submit@debbugs.gnu.org; Sat, 25 May 2019 03:15:14 -0400 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 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Y6CJE5hAsL+wL3iyvghYX2zBSVfCQW530ZGkbpYUGCc=; b=deoZDOqBfsN+hkN6ONQIdUnvNn 1Gbyr1To/ena1avCrhOVEk7AxrrlP25ihUPd4weM6j0xU0cNQPH0ThwEPCrjdV/wdvCnl6pDkKwi7 h0nYWG9KGDclOoDXzrNROjh2rui+gIZ3DR1n8k06Y+2qs50v06HLh9W39FUVXHoxJ6Z0=; Received: from [49.206.13.26] (helo=steel.lan) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1hUQgR-00030F-P9; Sat, 25 May 2019 12:31:35 +0530 From: Arun Isaac Date: Sat, 25 May 2019 12:31:13 +0530 Message-Id: <20190525070113.5576-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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(-)