<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13856</bug_id>
          
          <creation_ts>2020-04-03 09:26:06 +0000</creation_ts>
          <short_desc>[pulseaudio] authkey.c: Failed to open cookie file &apos;/home/root/.config/pulse/cookie&apos;: No such file or directory</short_desc>
          <delta_ts>2020-04-07 09:42:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Changqing Li">changqing.li</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>86903</commentid>
    <comment_count>0</comment_count>
    <who name="Changqing Li">changqing.li</who>
    <bug_when>2020-04-03 09:26:06 +0000</bug_when>
    <thetext>Reproduce steps:
1. add below info in local.conf
  DISTRO_FEATURES_append = &quot; systemd pam&quot;
DISTRO_FEATURES_BACKFILL_CONSIDERED += &quot;sysvinit&quot;
VIRTUAL-RUNTIME_init_manager = &quot;systemd&quot;
VIRTUAL-RUNTIME_initscripts = &quot;systemd-compat-units&quot;
KERNEL_FEATURES_append = &quot; cfg/systemd.scc&quot;


INHERIT += &apos;testimage&apos;
TEST_QEMUBOOT_TIMEOUT = &quot;1500&quot;

VIRTUAL-RUNTIME_syslog ?= &quot;${@bb.utils.contains(&apos;INCOMPATIBLE_LICENSE&apos;, &apos;GPLv3&apos;, &apos;sysklogd&apos;, &apos;rsyslog&apos;, d)}&quot;
VIRTUAL-RUNTIME_base-utils-syslog ?= &quot;${VIRTUAL-RUNTIME_syslog}&quot;

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 &apos;/home/root/.config/pulse/cookie&apos;: 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 &apos;/home/root/.config/pulse/cookie&apos;: 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 &apos;/home/root/.pulse-cookie&apos;: 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 &apos;/home/root/.pulse-cookie&apos;: 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:~#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86922</commentid>
    <comment_count>1</comment_count>
    <who name="Changqing Li">changqing.li</who>
    <bug_when>2020-04-07 09:09:00 +0000</bug_when>
    <thetext>&quot;Failed to open cookie file&quot; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86923</commentid>
    <comment_count>2</comment_count>
    <who name="Changqing Li">changqing.li</who>
    <bug_when>2020-04-07 09:42:21 +0000</bug_when>
    <thetext>It should not a bug,  from the code
&quot;/* Load an authentication cookie from file fn and store it in data. If
 * the cookie file doesn&apos;t exist, create it */
&quot;

just a warning</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>