GNU bug report logs -
#28128
[PATCH] scripts: system: Add support for container network sharing.
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Thu, 17 Aug 2017 19:14:01 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 28128 <at> debbugs.gnu.org (full text, mbox):
Hello Arun,
Arun Isaac <arunisaac <at> systemreboot.net> skribis:
> I need this feature and I'd like to see this patch completed. And, I'm
> willing to adopt it if Christopher Baines is unable to find time for
> it. May I?
Thanks for picking it up, and sorry for the delay!
>> What about this:
>>
>> 1. Remove from ‘operating-system-etc-service’ all the
>> shared-network-related files;
>>
>> 2. Add a ‘shared-network-service’ that simply adds those file to
>> /etc;
>>
>> 3. Add a ‘containerized-operating-system’ that removes it.
>>
>> There’s the problem, though, that /etc/hosts can only be added from
>> ‘essential-services’.
>
> I tried the above, but since /etc/hosts can only be added from
> essential-services, we still have to pass around the
> #:container-shared-network? argument a lot.
What about solving the /etc/hosts issue like this:
a. Add in (gnu services) an ‘hosts-database-service-type’ that would
take could be extended with IP/name pairs that it would put in
/etc/hosts.
b. Have ‘essential-services’ extend ‘hosts-database-service-type’.
In the container-with-shared-network case we’d arrange to not extend
‘hosts-database-service-type’, which would thus not produce /etc/hosts.
Does that make sense?
HTH,
Ludo’.
This bug report was last modified 6 years and 104 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.