[lxc-devel] Regression in kernel support after preserve_ns change (affects master and 1.1 branch)

Stéphane Graber stgraber at ubuntu.com
Tue Nov 17 16:19:17 UTC 2015


Hello,

We just got a report when testing 1.1.5 for inclusion in Ubuntu that the
preserve_ns change that was made recently is breaking on kernels higher
than 3.2 and lower than 3.8.

Specifically kernels that do have /proc/self/ns but do not have entries
in there for all the namespaces which can be cloned/unshared.

Rather than only skipping preserve_ns when /proc/self/ns doesn't exist,
it should be skipped if /proc/self/ns doesn't exist AND if ANY of the
/proc/self/ns/<namespace> entries are missing.

Anyone interested in sending a patch?

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20151117/bbe84465/attachment.sig>


More information about the lxc-devel mailing list