mbox series

[bug#28128,0/2] Support container network sharing

Message ID 20190313093610.1071-1-arunisaac@systemreboot.net
Headers show
Series Support container network sharing | expand

Message

Arun Isaac March 13, 2019, 9:36 a.m. UTC
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(-)