<?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>9521</bug_id>
          
          <creation_ts>2016-04-26 13:24:51 +0000</creation_ts>
          <short_desc>Can&apos;t install dbus</short_desc>
          <delta_ts>2016-07-29 15:44:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>9496</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gary Thomas">gary</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61688</commentid>
    <comment_count>0</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-04-26 13:24:51 +0000</bug_when>
    <thetext>Trying to install dbus-1 on an existing system (using opkg) fails:

Installing shadow-base (4.2.1-r0.0) on root.
Downloading http://192.168.1.15/teton-p7618-feeds/cortexa7-neon/shadow-base_4.2.1-r0.0_cortexa7-neon.ipk.
 Removing any system startup links for dbus-1 ...
Running groupadd commands...
NOTE: dbus: Performing groupadd with [ -r netdev]
ERROR: dbus: groupadd command did not succeed.
To remove package debris, try `opkg remove dbus-1`.
To re-attempt the install, try `opkg install dbus-1`.
Collected errors:
 * pkg_run_script: package &quot;dbus-1&quot; preinst script returned status 1.
 * preinst_configure: Aborting installation of dbus-1.

Once in this state, dbus-1 is neither installed nor not installed (stuck)

Tested with Poky 20a0121b558b32179220e394a66cb90dc6ff3879

Note: dbus can be installed initially in an image just fine, just not after the fact.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61695</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-04-26 16:37:38 +0000</bug_when>
    <thetext>Pasting from the relevant thread:

&quot;&quot;&quot;
Interesting info from &apos;strace&apos;

1147  execve(&quot;/usr/local/bin/ groupadd -r netdev&quot;, [&quot; groupadd -r netdev&quot;], [/* 12 vars */]) = -1 ENOENT (No such file or directory)
1147  execve(&quot;/usr/bin/ groupadd -r netdev&quot;, [&quot; groupadd -r netdev&quot;], [/* 12 vars */]) = -1 ENOENT (No such file or directory)
1147  execve(&quot;/bin/ groupadd -r netdev&quot;, [&quot; groupadd -r netdev&quot;], [/* 12 vars */]) = -1 ENOENT (No such file or directory)
1147  execve(&quot;/usr/local/sbin/ groupadd -r netdev&quot;, [&quot; groupadd -r netdev&quot;], [/* 12 vars */]) = -1 ENOENT (No such file or directory)
1147  execve(&quot;/usr/sbin/ groupadd -r netdev&quot;, [&quot; groupadd -r netdev&quot;], [/* 12 vars */]) = -1 ENOENT (No such file or directory)
1147  execve(&quot;/sbin/ groupadd -r netdev&quot;, [&quot; groupadd -r netdev&quot;], [/* 12 vars */]) = -1 ENOENT (No such file or directory)
&quot;&quot;&quot;

Looks a lot like execve is being passed a bad path as there&apos;s a space between the $PATH entry and groupadd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61696</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-04-26 16:39:57 +0000</bug_when>
    <thetext>Can you cherry-pick 84686b51043c5a6b0ae184d00f547ccbd7832f39 and see if that fixes it please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61709</commentid>
    <comment_count>3</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-04-27 06:17:51 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Can you cherry-pick 84686b51043c5a6b0ae184d00f547ccbd7832f39 and see if that
&gt; fixes it please?

Yes, that does fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61711</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-04-27 07:39:25 +0000</bug_when>
    <thetext>So the workaround is to install core-utils in images so that flock is core-utils instead of busybox.  We&apos;re literally about to release so this may have to be release noted for 2.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61798</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-04-28 14:46:22 +0000</bug_when>
    <thetext>Marking a duplicate of bug 9496.

*** This bug has been marked as a duplicate of bug 9496 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64659</commentid>
    <comment_count>6</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-07-29 15:44:45 +0000</bug_when>
    <thetext>duplicated bug</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>