Bug 1597338 - Promote unprivileged namespaces to production support
Summary: Promote unprivileged namespaces to production support
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kernel
Version: 7.5
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Aristeu Rozanski
QA Contact: Chao Ye
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-02 15:54 UTC by Dave Dykstra
Modified: 2019-09-24 20:27 UTC (History)
5 users (show)

Fixed In Version: kernel-3.10.0-681.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-24 20:27:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dave Dykstra 2018-07-02 15:54:28 UTC
Description of problem:

In RHEL 7.5, unprivileged namespaces are a technology preview feature enabled with the boot parameter namespace.unpriv_enable=1 plus setting the sysctl variable user.max_user_namespaces to a non-zero value.  This works great for testing, and the Worldwide LHC Computing Grid (WLCG) community would very much like to begin using this feature in production. At least initially we would use it with the unprivileged mode of the open source tool singularity (which I now support in Fedora Core and EPEL), to avoid the security risk of setuid-root.

We request that this feature be promoted to production support in a future 7.X release, hopefully 7.6.  We understand that it will probably be in 8.X, but it will take years before all of our users will be able to upgrade to that.

Version-Release number of selected component (if applicable):

3.10.0-862.3.3.el7

How reproducible:

Very

Steps to Reproduce:
1. Enable EPEL 7 with rpm -i https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
2. yum install singularity
3. As an unprivileged user run
   singularity exec -u -H $HOME:/srv docker://centos:6 cat /etc/redhat-release

Actual results:

ERROR  : Failed invoking the NEWUSER namespace runtime: Invalid argument

Expected results:

CentOS release 6.9 (Final)

Additional info:

Comment 2 Dave Dykstra 2018-07-02 16:24:24 UTC
If someone could uncheck the "Private group" on this ticket or otherwise make the ticket be public, I would appreciate it.

Comment 3 Dave Dykstra 2018-08-16 14:52:21 UTC
Could anyone reading this ticket who has the power please uncheck "Private group".

Comment 4 Chao Ye 2018-08-17 02:14:10 UTC
(In reply to Dave Dykstra from comment #3)
> Could anyone reading this ticket who has the power please uncheck "Private
> group".

Done, please take a look.

Chao

Comment 5 Dave Dykstra 2018-08-22 18:18:17 UTC
There are several confirmations in a different ticket #1350553 that this will be fully supported in 7.6. Great!  

The other ticket is closed, but it is where I originally requested this feature.  I suppose this one can now be closed too, and refer to the other ticket.

Comment 6 Aristeu Rozanski 2019-09-24 20:27:53 UTC
Closing as current release then.


Note You need to log in before you can comment on or make changes to this bug.