[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systemd-devel
Subject:    Re: [systemd-devel] Info about JoinsNamespaceOf, PrivateNetwork systemd directives
From:       george Karakou <mad-proffessor () hotmail ! com>
Date:       2016-05-30 16:10:51
Message-ID: BLU437-SMTP93E4E15E76C30F68EC0AC49F450 () phx ! gbl
[Download RAW message or body]



On 05/30/2016 06:04 PM, Lennart Poettering wrote:
> On Mon, 30.05.16 16:24, george Karakou (mad-proffessor@hotmail.com) wrote:
>
>> Hi again, i am a bit curious about these two directives. Can somebody
>> explain in  a few words how are these implemented? Using linux network
>> namespaces? Or simply put somehow services using these 2 directives are
>> forbidden to bind to l3, l4 sockets and only allowed to communicate via unix
>> domain sockets? Its an interesting feature, i thought i should give it a
>> try.
> PrivateNetwork= simply runs a service in a new network namespace, and
> adds a loopback device to it, but nothing else.
>
> JoinsNamespaceOf= then allows you to run multiple services within the
> same namespace.
>
> Note that network namespaces cover AF_INET and AF_INET6 sockets, as
> well as abstract AF_UNIX socket, but not AF_UNIX sockets that are
> stored in the file system, those are namespaced via the filesystem
> namespaces logic.
>
> Lennart
>
Thanks a lot, this clarifies it.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic