From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:54994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h40QY-0000aU-Ge for guix-patches@gnu.org; Wed, 13 Mar 2019 05:43:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h40Jq-0000AF-5a for guix-patches@gnu.org; Wed, 13 Mar 2019 05:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55722) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h40Jq-0000A7-20 for guix-patches@gnu.org; Wed, 13 Mar 2019 05:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h40Jp-0000XH-PW for guix-patches@gnu.org; Wed, 13 Mar 2019 05:37:01 -0400 Subject: [bug#28128] [PATCH 0/2] Support container network sharing References: <20170817191334.26269-1-mail@cbaines.net> In-Reply-To: <20170817191334.26269-1-mail@cbaines.net> Resent-Message-ID: From: Arun Isaac Date: Wed, 13 Mar 2019 15:06:08 +0530 Message-Id: <20190313093610.1071-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: ludo@gnu.org Cc: 28128@debbugs.gnu.org Here is an implementation as promised. One small difference from what you suggested is that instead of creating a `hosts-database-service-type' that is extended by `essential-services', I created a `shared-network-service-type' that is extended by `essential-services'. This way, the population of all the shared-network related files are grouped under a single service. Let me know if this is satisfactory. Thanks! Arun Isaac (2): shepherd: Move nscd-socket to (gnu system file-systems). scripts: system: Support container network sharing. gnu/build/shepherd.scm | 8 ++------ gnu/services.scm | 9 +++++++++ gnu/services/base.scm | 4 +++- gnu/system.scm | 27 +++++++++++++++++---------- gnu/system/file-systems.scm | 10 +++++++++- gnu/system/linux-container.scm | 26 +++++++++++++++++++++++--- guix/scripts/system.scm | 30 +++++++++++++++++++++++------- 7 files changed, 86 insertions(+), 28 deletions(-) -- 2.20.1