network namespace support in selftest (was: Re: socket-wrapper fd-passing)

Andreas Schneider asn at samba.org
Thu Jun 25 06:05:07 UTC 2020


On Wednesday, 24 June 2020 23:26:55 CEST Andrew Bartlett via samba-technical 
wrote:
> On Wed, 2020-06-24 at 23:14 +0200, Stefan Metzmacher via samba-
> 
> technical wrote:
> > Hi Anoop,
> > 
> > I rebased your fd-passing patches on top of socket_wrapper master.
> > 
> > See https://gitlab.com/metze/socket_wrapper/-/commits/fd-passing/
> > 
> > Please also notice my commit on top where I added some more hints
> 
> > on a better design:
> I've not looked into this in any detail at all, and I'm sure you are
> aware that with the network namespace mode for selftest we can avoid
> socket_wrapper and so base ourselves directly on kernel sockets.
> 
> This of course requires privileges so has other implications, but I
> wanted to mention this more broadly in case this helps us get out of a
> tight spot here.
> 
> This is the work Tim Beale did a year or so ago.

And namespaces work inside of containers (namespaces)? Just asking because 
gitlab-ci is a container ...

-- 
Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the samba-technical mailing list