<?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>15426</bug_id>
          
          <creation_ts>2024-03-07 12:19:40 +0000</creation_ts>
          <short_desc>dbus-wait timeout uses a &apos;success&apos; exit code</short_desc>
          <delta_ts>2026-02-26 16:21:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Sato</product>
          <component>sato</component>
          <version>svn</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>dixitparmar19</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          
          <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>98399</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-03-07 12:19:40 +0000</bug_when>
    <thetext>dbus-wait uses a &quot;success&quot; exit code for timeout:

https://git.yoctoproject.org/dbus-wait/tree/dbus-wait.c#n33

This should probably be configurable so the caller can decide whether that should be an error or not. This was making usage in runtime desktop image testing more challenging than it should be.

The timeout should also perhaps be an optional parameter?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99950</commentid>
    <comment_count>1</comment_count>
    <who name="Dixit Parmar">dixitparmar19</who>
    <bug_when>2024-10-21 06:14:39 +0000</bug_when>
    <thetext>Hi,
Can we use dbus_connection_read_write_dispatch&apos;s timeout arg option, which can be based on a command-line parameter passed to the application, instead of the fixed wait time of 60 seconds?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99951</commentid>
    <comment_count>2</comment_count>
    <who name="Dixit Parmar">dixitparmar19</who>
    <bug_when>2024-10-21 06:33:32 +0000</bug_when>
    <thetext>(In reply to Dixit Parmar from comment #1)
&gt; Hi,
&gt; Can we use dbus_connection_read_write_dispatch&apos;s timeout arg option, which
&gt; can be based on a command-line parameter passed to the application, instead
&gt; of the fixed wait time of 60 seconds?

No, because it can not be specific to a match rule or connection type. :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>