]> code.ossystems Code Review - openembedded-core.git/commit
connman: Use useradd to add the xuser for DBus
authorSaul Wold <sgw@linux.intel.com>
Thu, 27 Oct 2011 14:15:36 +0000 (16:15 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Nov 2011 08:21:01 +0000 (08:21 +0000)
commit8139ac9284031e00d6b268210b04b57670d9268a
tree0395e7de8a58cfbab9236aa1366aad797d02eb44
parent6823a32035de5d0bcd82a3b41a6ad536aaddbc58
connman: Use useradd to add the xuser for DBus

Connmand needs to start as the xuser as defined in the dbus
configuration and needs to share this with rootless X. Since
it's possible for connmand to run on a sytem without rootless
X we still need to create the user here.

Useradd will fail gracefully if the user already exists.

Fixes: [YOCTO #1699]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-connectivity/connman/connman.inc
meta/recipes-connectivity/connman/connman_0.75.bb