Bug 1244490 - LXC user namespace ID's seem to be wrongfully restricted to max 65536
Summary: LXC user namespace ID's seem to be wrongfully restricted to max 65536
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 22
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-19 09:25 UTC by Rolf Fokkens
Modified: 2015-08-18 05:14 UTC (History)
3 users (show)

Fixed In Version: virt-manager-1.2.1-2.fc22
Clone Of:
Environment:
Last Closed: 2015-08-18 05:14:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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