Bug 11120

Summary: Default maximum mumber of keys (200) too small for nfs4 userid/groupid mapping
Product: Mageia Reporter: José Eduardo Martins <jemartins>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: tmb
Version: 3   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description José Eduardo Martins 2013-08-31 20:53:06 CEST
Description of problem:

One Partition mounted via nfs4 wish have over 200 users shows wrong userid/groupid.

If I try this workaround:

echo 400000 > /proc/sys/kernel/keys/root_maxbytes
echo 10000 > /proc/sys/kernel/keys/root_maxkeys

The problem is fixed.

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


How reproducible:

Mount via nfs4 one partition (/home) wish have a number of users over 200.

$ ls -l /home

rwxr-xr-x 20    4294967294 alunos 4096 Ago 29 12:02 ymatos/
drwxr-xr-x 20    4294967294 alunos 4096 Ago 27 10:29 ynishikawa/
drwxr-xr-x  5    4294967294 alunos 4096 Ago 23 15:29 ypereira/
drwxr-xr-x  5    4294967294 alunos 4096 Ago 23 15:29 ysantos/
drwxr-xr-x 20    4294967294 alunos 4096 Ago 29 11:27 ysantos1/
drwxr-xr-x  5    4294967294 alunos 4096 Ago 23 15:30 ysantos8/
drwxr-xr-x  5    4294967294 alunos 4096 Ago 23 15:29 ysilva/
drwxr-xr-x  5    4294967294 alunos 4096 Ago 23 15:29 ysilva5/
drwxr-xr-x 19    4294967294 alunos 4096 Ago 28 13:42 ysinzato/

Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 José Eduardo Martins 2013-08-31 21:01:49 CEST
I have in both (server and client nfs4) rpc.idmapd running.
David Walser 2013-09-01 20:55:46 CEST

CC: (none) => tmb

Comment 2 Manuel Hiebel 2013-09-09 19:27:55 CEST
thomas, is this something for you ?
Comment 3 Marja Van Waes 2015-03-31 16:05:45 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => OLD