Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1597338

Summary: Promote unprivileged namespaces to production support
Product: Red Hat Enterprise Linux 7 Reporter: Dave Dykstra <dwd>
Component: kernelAssignee: Aristeu Rozanski <arozansk>
kernel sub component: Namespace QA Contact: Chao Ye <cye>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: medium    
Priority: unspecified CC: anthony.tiradani, fkhan, o.freyermuth, riehecky, wienemann
Version: 7.5   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-3.10.0-681.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-24 20:27:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.