<?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>11108</bug_id>
          
          <creation_ts>2017-02-24 23:01:48 +0000</creation_ts>
          <short_desc>bash: update-alternatives break Build Appliance</short_desc>
          <delta_ts>2017-03-17 18:02:23 +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>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Juro Bystricky">juro.bystricky</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>70941</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-02-24 23:01:48 +0000</bug_when>
    <thetext>Running Build Appliance built with master 3c83b56309ab419f8cda72c0711479f60f61439a 

Generates this sanity.bbclass error:

OE-core&apos;s config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Error, /bin/sh links to /bin/bash.bash, must be dash or bash


This seems to be a direct consequence of:

0b040f9534ea7530112709eacd299f7313eef380:bash: use update-alternatives for the bash binary

Fixing the sanity.bbclass will be only of limited usage, as this would have to be backported. (Because for building with Toaster can select a previous distro such as &quot;morty&quot;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71164</commentid>
    <comment_count>1</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-03-09 13:14:28 +0000</bug_when>
    <thetext>The consensus is to modify sanity.bbclass test to be less restrictive.
The modifications need to be back-ported to morty and krogoth as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71410</commentid>
    <comment_count>2</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-03-17 18:02:23 +0000</bug_when>
    <thetext>fix merged with master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ab2caed31ad7d20561643f4de9792f97d3a6bd5b

Also sent to the mailing list to backport to &quot;Morty&quot;
http://lists.openembedded.org/pipermail/openembedded-core/2017-March/134189.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>