<?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>5143</bug_id>
          
          <creation_ts>2013-09-09 07:08:04 +0000</creation_ts>
          <short_desc>systemd: many /lib/libfoo requires a shared library under exec_prefix (/usr) warnings</short_desc>
          <delta_ts>2017-08-03 21:28:47 +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>
          
          <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=7040</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</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>richard.purdie</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>36408</commentid>
    <comment_count>0</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2013-09-09 07:08:04 +0000</bug_when>
    <thetext>WARNING: QA Issue: systemd: /lib/systemd/systemd-udevd, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libkmod.so.2 =&gt; /usr/lib/libkmod.so.2 (0xdead2000)
WARNING: QA Issue: systemd: -utils/bin/udevadm, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libkmod.so.2 =&gt; /usr/lib/libkmod.so.2 (0xdead2000)
WARNING: QA Issue: systemd: /lib/systemd/systemd-initctl, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead2000)
WARNING: QA Issue: systemd: /lib/systemd/systemd-fsck, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead1000)
WARNING: QA Issue: systemd: /lib/systemd/systemd-machined, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead2000)
WARNING: QA Issue: systemd: /lib/systemd/systemd-hostnamed, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead1000)
WARNING: QA Issue: systemd: /lib/systemd/systemd, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libkmod.so.2 =&gt; /usr/lib/libkmod.so.2 (0xdead5000)
WARNING: QA Issue: systemd: /lib/systemd/systemd, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead6000)
WARNING: QA Issue: systemd: /lib/systemd/systemd-journald, installed in the base_prefix, requires a shared library under exec_prefix (/usr): liblzma.so.5 =&gt; /usr/lib/liblzma.so.5 (0xdead5000)
WARNING: QA Issue: systemd: /lib/systemd/systemd-timedated, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead1000)
WARNING: QA Issue: systemd: /lib/systemd/systemd-localed, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead1000)
WARNING: QA Issue: systemd: /lib/systemd/systemd-cgroups-agent, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead1000)
WARNING: QA Issue: systemd: /lib/systemd/systemd-update-utmp, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead1000)
WARNING: QA Issue: systemd: /lib/systemd/systemd-modules-load, 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: systemd: /lib/systemd/systemd-logind, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead4000)
WARNING: QA Issue: systemd: /lib/systemd/systemd-bootchart, installed in the base_prefix, requires a shared library under exec_prefix (/usr): liblzma.so.5 =&gt; /usr/lib/liblzma.so.5 (0xdead6000)
WARNING: QA Issue: systemd: /bin/journalctl, installed in the base_prefix, requires a shared library under exec_prefix (/usr): liblzma.so.5 =&gt; /usr/lib/liblzma.so.5 (0xdead1000)
WARNING: QA Issue: systemd: /bin/loginctl, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead1000)
WARNING: QA Issue: systemd: /bin/systemd-inhibit, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead1000)
WARNING: QA Issue: systemd: /bin/systemctl, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead2000)
WARNING: QA Issue: systemd: /bin/systemctl, installed in the base_prefix, requires a shared library under exec_prefix (/usr): liblzma.so.5 =&gt; /usr/lib/liblzma.so.5 (0xdead5000)
WARNING: QA Issue: systemd: /bin/machinectl, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libdbus-1.so.3 =&gt; /usr/lib/libdbus-1.so.3 (0xdead1000)
WARNING: QA Issue: systemd: /lib/libgudev-1.0.so.0.1.3, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgio-2.0.so.0 =&gt; /usr/lib/libgio-2.0.so.0 (0xdead2000)
WARNING: QA Issue: systemd: /lib/libgudev-1.0.so.0.1.3, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libgmodule-2.0.so.0 =&gt; /usr/lib/libgmodule-2.0.so.0 (0xdead3000)
WARNING: QA Issue: systemd: /lib/libgudev-1.0.so.0.1.3, 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 (0xdead6000)
WARNING: QA Issue: systemd: /lib/libgudev-1.0.so.0.1.3, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libffi.so.6 =&gt; /usr/lib/libffi.so.6 (0xdead7000)
WARNING: QA Issue: systemd: /lib/libgudev-1.0.so.0.1.3, 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 (0xdead8000)
WARNING: QA Issue: systemd: /lib/libsystemd-journal.so.0.11.1, installed in the base_prefix, requires a shared library under exec_prefix (/usr): liblzma.so.5 =&gt; /usr/lib/liblzma.so.5 (0xdead1000)

Reprocude steps:
1) Add more checking 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) Enable systemd in local.conf:
  + DISTRO_FEATURES_append = &quot; systemd&quot;
  + VIRTUAL-RUNTIME_init_manager = &quot;systemd&quot;
  + DISTRO_FEATURES_BACKFILL_CONSIDERED = &quot;sysvinit&quot;

3) bitbake systemd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36479</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-09-10 11:40:16 +0000</bug_when>
    <thetext>The systemd maintainers insist that splitting / and /usr is broken and so don&apos;t consider using lzma/kmod/etc a problem, and gudev for some reason is in /lib and that depends on glib.  I&apos;d be very hesistant to move *all* of these libraries into /lib.

Personally I&apos;m saying here &quot;if you want to use separate / and /lib, you can&apos;t use systemd&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36481</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-09-10 11:51:22 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75630</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2017-08-03 21:28:47 +0000</bug_when>
    <thetext>See rationale in 5142.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>