<?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>5142</bug_id>
          
          <creation_ts>2013-09-09 06:55:40 +0000</creation_ts>
          <short_desc>WARNING: QA Issue on kmod/udev/nfs-utils/gzip/iputils (unsafe references [/ references to /usr/lib])</short_desc>
          <delta_ts>2017-08-03 13:33:00 +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>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Wenzong.Fan">wenzong.fan</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>36407</commentid>
    <comment_count>0</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2013-09-09 06:55:40 +0000</bug_when>
    <thetext>There are QA warning to those packages: kmod/udev/nfs-utils/gzip/iputils

WARNING: QA Issue: kmod: /bin/kmod, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libkmod.so.2 =&gt; /usr/lib/libkmod.so.2 (0xdead1000)
WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.1.1, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgobject-2.0.so.0 =&gt; /usr/lib/libgobject-2.0.so.0 (0xdead3000)
WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.1.1, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libffi.so.6 =&gt; /usr/lib/libffi.so.6 (0xdead4000)
WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.1.1, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libglib-2.0.so.0 =&gt; /usr/lib/libglib-2.0.so.0 (0xdead5000)
WARNING: QA Issue: udev: /lib/udev/udevd, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libkmod.so.2 =&gt; /usr/lib/libkmod.so.2 (0xdead3000)
WARNING: QA Issue: nfs-utils: Found a reference to /usr/ in /buildarea/wfan/yocto/qa_warning/tmp/work/i586-poky-linux/nfs-utils/1.2.8-r0/packages-split/nfs-utils/sbin/osd_login
WARNING: QA Issue: Shell scripts in base_bindir and base_sbindir should not reference anything in exec_prefix
WARNING: QA Issue: gzip: Found a reference to /usr/ in /buildarea/wfan/yocto/qa_warning/tmp/work/i586-poky-linux/gzip/1.6-r0/packages-split/gzip/bin/gunzip.gzip
WARNING: QA Issue: Shell scripts in base_bindir and base_sbindir should not reference anything in exec_prefix
WARNING: QA Issue: gzip: Found a reference to /usr/ in /buildarea/wfan/yocto/qa_warning/tmp/work/i586-poky-linux/gzip/1.6-r0/packages-split/gzip/bin/zcat.gzip
WARNING: QA Issue: Shell scripts in base_bindir and base_sbindir should not reference anything in exec_prefix
ARNING: QA Issue: iputils: -ping6/bin/ping6.iputils, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgnutls-openssl.so.27 =&gt; /usr/lib/libgnutls-openssl.so.27 (0xdead3000)
WARNING: QA Issue: iputils: -ping6/bin/ping6.iputils, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgnutls.so.26 =&gt; /usr/lib/libgnutls.so.26 (0xdead5000)
WARNING: QA Issue: iputils: -ping6/bin/ping6.iputils, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgcrypt.so.11 =&gt; /usr/lib/libgcrypt.so.11 (0xdead6000)
WARNING: QA Issue: iputils: -ping6/bin/ping6.iputils, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgpg-error.so.0 =&gt; /usr/lib/libgpg-error.so.0 (0xdead7000)
WARNING: QA Issue: iputils: -ping6/bin/ping6.iputils, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libtasn1.so.6 =&gt; /usr/lib/libtasn1.so.6 (0xdeada000)

Reproduce steps:
1) Add some more check to meta-yocto/conf/distro/poky.conf:
  -WARN_QA = &quot;textrel files-invalid incompatible-license xorg-driver-abi libdir&quot;
  +WARN_QA = &quot;textrel files-invalid incompatible-license xorg-driver-abi libdir unsafe-references-in-binaries unsafe-references-in-scripts&quot;

2) bitbake kmod/udev/nfs-utils/gzip/iputils</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36435</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-09-09 17:02:36 +0000</bug_when>
    <thetext>These are known and there is a reason those checks are not currently in QA_WARN, this will be a 1.6 item, if it can be fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36632</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-09-12 21:18:20 +0000</bug_when>
    <thetext>See also RP&apos;s comment in 5143:

&quot;As previously stated, until someone comes up with a well thought out plan of what should be in /lib and what should be in /usr/lib, I&apos;m not entertaining moving anything else. We *cannot* try and do this piecemeal. Changing the priority to reflect this.&quot;

It&apos;s probably time for a new bug to reflect the need for a decision, and mark all these as duplicates.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74481</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2017-06-22 15:23:50 +0000</bug_when>
    <thetext>If we decide to abandon this feature, we must also remove the QA test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75606</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2017-08-03 13:33:00 +0000</bug_when>
    <thetext>We do not have anyone that requires this feature (separate root and usr). Most linux distros are going this way so it seems pointless to resist the trend. There a good summary of the Debian rational and starting point to read more here:
   https://lwn.net/Articles/670071/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>