Reproduce steps: 1. add below info in local.conf DISTRO_FEATURES_append = " systemd pam" DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit" VIRTUAL-RUNTIME_init_manager = "systemd" VIRTUAL-RUNTIME_initscripts = "systemd-compat-units" KERNEL_FEATURES_append = " cfg/systemd.scc" INHERIT += 'testimage' TEST_QEMUBOOT_TIMEOUT = "1500" VIRTUAL-RUNTIME_syslog ?= "${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPLv3', 'sysklogd', 'rsyslog', d)}" VIRTUAL-RUNTIME_base-utils-syslog ?= "${VIRTUAL-RUNTIME_syslog}" 2. bitbake core-image-sato 3. runqemu snapshot nographic qemux86-64 core-image-sato 4. see /var/log/syslog 2020-04-03T08:59:36.832424+00:00 qemux86-64 Xserver[270]: libGL error: No driver found 2020-04-03T08:59:36.835378+00:00 qemux86-64 Xserver[270]: libGL error: failed to load driver: (null) 2020-04-03T08:59:37.537104+00:00 qemux86-64 pulseaudio[299]: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified). 2020-04-03T08:59:37.793565+00:00 qemux86-64 pulseaudio[302]: [pulseaudio] authkey.c: Failed to open cookie file '/home/root/.config/pulse/cookie': No such file or directory 2020-04-03T08:59:37.806473+00:00 qemux86-64 pulseaudio[302]: [pulseaudio] authkey.c: Failed to load authentication key '/home/root/.config/pulse/cookie': No such file or director 2020-04-03T08:59:37.827497+00:00 qemux86-64 pulseaudio[302]: [pulseaudio] authkey.c: Failed to open cookie file '/home/root/.pulse-cookie': No such file or directory 2020-04-03T08:59:37.839533+00:00 qemux86-64 pulseaudio[302]: [pulseaudio] authkey.c: Failed to load authentication key '/home/root/.pulse-cookie': No such file or directory 2020-04-03T08:59:38.179747+00:00 qemux86-64 Xserver[259]: matchbox: Cant find a keycode for keysym 269025056 2020-04-03T08:59:38.191200+00:00 qemux86-64 Xserver[259]: matchbox: ignoring key shortcut XF86Calendar=!$contacts 2020-04-03T08:59:38.192520+00:00 qemux86-64 Xserver[259]: matchbox: Cant find a keycode for keysym 2809 2020-04-03T08:59:38.193610+00:00 qemux86-64 Xserver[259]: matchbox: ignoring key shortcut telephone=!$dates More info: the cookie seems in there: root@qemux86-64:~# ls /home/root/.config/pulse/cookie /home/root/.config/pulse/cookie root@qemux86-64:~#
"Failed to open cookie file" these failure should be warning, and the cookie will be created later. But I am not famliure with pulseaudio, not sure if it is ok to report this warning
It should not a bug, from the code "/* Load an authentication cookie from file fn and store it in data. If * the cookie file doesn't exist, create it */ " just a warning