Just checking on the X11 user 'xuser' which should be created
with a bunch of groups via this recipe snippet:
  USERADD_PARAM_${PN} = "--create-home \
                         --groups video,tty,audio \
                         --user-group xuser"

However, when I log in as 'xuser', I don't see them?
  login: xuser
  $ id
  uid=1001(xuser) gid=1001(xuser) groups=1001(xuser)
  $ grep xuser /etc/group
  tty:x:5:demo,xuser
  audio:x:29:demo,xuser,pulse
  video:x:44:demo,xuser
  xuser:x:1001:

They do seem to be set though:
  $ python
  Python 2.7.3 (default, Jan 15 2013, 10:27:28)
  [GCC 4.7.2] on linux2
T  ype "help", "copyright", "credits" or "license" for more information.
  >>> import os
  >>> os.getgroups()
  [5, 29, 44, 1001]

Looks like the busybox 'id' applet is broken?

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to