Subject: Re: [vserver] Max uid in a vserver
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Sat, 26 Jan 2008 16:23:35 +0100

On Wed, Jan 23, 2008 at 11:54:52AM +0100, Nicolas HEURTEL wrote:
> Hello,
> 
> I wan't to know how using an uid greater than 16777215 in a vserver.
> When I do "chown 16777216 toto" in a vserver, the owner is 16777214 
> which seems to be the max uid -1. 

that very much depends on what kind of filesystem tagging
you have enabled for the kernel, e.g. with

CONFIG_TAGGING_UID16	 ->	2^16 uids, 2^32 gids
CONFIG_TAGGING_GID16	 ->	2^32 uids, 2^16 gids
CONFIG_TAGGING_ID24	 ->	2^24 uids, 2^24 gids
CONFIG_TAGGING_INTERN	 ->	2^32 uids, 2^32 gids

2^16 = 65536
2^24 = 16777216
2^32 = 4294967296

> If I'm not on in a vserver, there is no problem.

sure not, you will simply create the combination
of uid, gid and tagging for a guest

> Should somebody help me ?

well, no sure somebody should, but somebody did :)

HTC,
Herbert

> Thanks

> begin:vcard
> fn:Nicolas HEURTEL
> n:HEURTEL;Nicolas
> org;quoted-printable:Universit=C3=A9 de Caen;CRISI - DRS
> email;internet:nicolas.heurtel@unicaen.fr
> title:Technicien Informatique
> version:2.1
> end:vcard
>