[lxc-users] UID > 65535 is not correctly mapped

Matlink matlink at matlink.fr
Thu Jun 15 17:13:00 UTC 2017


Stéphane made a post to anwser this :

https://stgraber.org/2017/06/15/custom-user-mappings-in-lxd-containers/


Le 14/06/2017 à 16:41, Matlink a écrit :
>
> Hello community,
>
> I wanted to use GUI apps in my containers, I followed the great howto
> here
> https://blog.simos.info/how-to-run-graphics-accelerated-gui-apps-in-lxd-containers-on-your-ubuntu-desktop/
>
> However, on my system, it happens that my uid is greater than 65535:
>
>     $ id -u $USER
>     119373
>
> When using
>
>     lxc config set guiapps raw.idmap "uid $UID 1000"
>
> in the container, the mapped id is 19737, like for .Xauthority :
>
>     $ ls -la /home/ubuntu/.Xauthority
>     -rw------- 1 19373 ubuntu 67 Jun 14 07:46 /home/ubuntu/.Xauthority
>
> Has anyone ever experienced something similar?
> -- 
> Matlink - Sysadmin matlink.fr
> Sortez couverts, chiffrez vos mails : https://café-vie-privée.fr/
> XMPP/Jabber : matlink at matlink.fr
> Clé publique PGP : 0x186BB3CA
> Empreinte Off-the-record : 572174BF 6983EA74 91417CA7 705ED899 DE9D05B2
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-- 
Matlink - Sysadmin matlink.fr
Sortez couverts, chiffrez vos mails : https://café-vie-privée.fr/
XMPP/Jabber : matlink at matlink.fr
Clé publique PGP : 0x186BB3CA
Empreinte Off-the-record : 572174BF 6983EA74 91417CA7 705ED899 DE9D05B2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170615/425c8167/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170615/425c8167/attachment.sig>


More information about the lxc-users mailing list