Bug 1244490

Summary: LXC user namespace ID's seem to be wrongfully restricted to max 65536
Product: [Fedora] Fedora Reporter: Rolf Fokkens <rolf>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 22CC: berrange, crobinso, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: virt-manager-1.2.1-2.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-18 05:14:29 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 Rolf Fokkens 2015-07-19 09:25:22 UTC
Description of problem: Many online LXC documents suggest to map uid/gid's to like 100000 or 1000000 up. This is nor supported by virt-manager, because entry fields for user namespace are limited to 65536 max.


Version-Release number of selected component (if applicable):
virt-manager-1.2.1-1.fc22.noarch


How reproducible: 100%


Steps to Reproduce:
1. start virt-manager
2. create an LXC container
3. try to map UID's to any number > 65536 and note it switches back to 65536

Actual results: Limitation to 65536


Expected results: UID mapping up to 100000 or 1000000 like suggested in LXC docs


Additional info:

Comment 1 Cole Robinson 2015-08-10 17:15:27 UTC
Thanks for the report, bumped the max to 10,000,00

commit 531260be363bf203062636b548c3d0ec7eab5500
Author: Cole Robinson <crobinso>
Date:   Mon Aug 10 13:14:37 2015 -0400

    details: Raise upper limits for lxc ID namespaces (bz 1244490)

Comment 2 Fedora Update System 2015-08-11 20:12:04 UTC
virt-manager-1.2.1-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/virt-manager-1.2.1-2.fc22

Comment 3 Fedora Update System 2015-08-13 16:53:57 UTC
Package virt-manager-1.2.1-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-manager-1.2.1-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-13390/virt-manager-1.2.1-2.fc22
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-08-18 05:14:29 UTC
virt-manager-1.2.1-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.