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

Matlink matlink at matlink.fr
Wed Jun 14 14:41:08 UTC 2017


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170614/33e1f5e0/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/20170614/33e1f5e0/attachment.sig>


More information about the lxc-users mailing list