Bug 8005

Summary: dbus startup error: Unknown username "xuser" in message bus configuration file
Product: [Runtime] General Runtime Reporter: Yi Zhao <yi.zhao>
Component: General RuntimeAssignee: Jussi Kukkonen <jku>
Status: VERIFIED FIXED QA Contact: Yi Zhao <yi.zhao>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, jku, ke.zou, ross.burton, yi.zhao, zhangle.yang
Version: 1.9   
Target Milestone: 2.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Yi Zhao 2015-07-15 06:34:42 UTC
Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-yocto-1.9_M1.rc2/

Git rev: master/f9ea480e6c26fea46c3011c4e9d0e2de3d5c81b4

When system startup, there is a error message for dubs:
###################################
# /etc/init.d/dbus-1 restart
Stopping system message bus: dbus.
Starting system message bus: Unknown username "xuser" in message bus configuration file
dbus.
###################################

There is no user named xuser in /etc/passwd
Comment 1 Yi Zhao 2015-07-15 07:17:18 UTC
This issue happens on all qemu and BSPs
Comment 2 Ross Burton 2015-07-16 10:35:13 UTC
Something failed to pull in xuser-account.  What image was this?
Comment 3 Yi Zhao 2015-07-17 01:45:22 UTC
(In reply to comment #2)
> Something failed to pull in xuser-account.  What image was this?

sato-sdk
Comment 4 Yi Zhao 2015-08-06 03:33:01 UTC
This issue still exists in 1.9 M2 rc1 build
git rev: master/22078d5e533e59a9aa6999abefbf6ece4e01de8d
Comment 5 Yi Zhao 2015-09-21 08:39:50 UTC
This issue still exists in 1.9 M3 rc1 build
git rev: master/ea562de57590c966cd5a75fda8defecd397e6436
Comment 6 Jussi Kukkonen 2015-09-23 14:24:56 UTC
I'm guessing this is connman dbus configuration issue: the connman recipe RDEPENDS on xuser-account only if ROOTLESS_X is set but patches in a policy for "xuser" in every case.
Comment 7 Jussi Kukkonen 2015-10-01 08:41:42 UTC
commit 907c8a7068791fb466867a29e881361b1639eae5
Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date:   Fri Sep 25 14:14:00 2015 +0300

    connman: Depend on xuser-account unconditionally
    
    This means dragging in xuser-account even when it's not used but
    that's a lesser evil than the recipe depending on machine specific
    settings.
    
    This also prevents a warning on connman service startup when
    ROOTLESS_X is not set:
      Unknown username "xuser" in message bus
    
    [YOCTO #8005]
    
    (From OE-Core rev: b791b8f1d175a73fcb9e48b3fcd56ebbc6bf6de1)
    
    Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
    Signed-off-by: Ross Burton <ross.burton@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Comment 8 Yi Zhao 2015-10-13 05:22:36 UTC
Verified with 2.0 rc1