<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>30628</bug_id>
          
          <creation_ts>2015-01-05 02:29:23 +0300</creation_ts>
          <short_desc>/sbin/systemctl is linked with a library in /usr</short_desc>
          <delta_ts>2015-01-13 05:53:00 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>systemd</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://rutracker.org/forum/viewtopic.php?t=4890456</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>arseny</cc>
    
    <cc>at</cc>
    
    <cc>ldv</cc>
    
    <cc>real.altlinux.org</cc>
    
    <cc>real</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>149574</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2015-01-05 02:29:23 +0300</bug_when>
    <thetext>Пишут, что...
&quot;В альт линуксе /sbin/systemctl слинкован с /usr/lib64/liblz4.so.1.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149575</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2015-01-05 03:09:13 +0300</bug_when>
    <thetext>Starting with systemd-216-alt1, /sbin/systemctl is linked with /usr/lib64/liblz4.so.1

$ nm -D /sbin/systemctl |grep -F LZ4
                 U LZ4_decompress_safe
                 U LZ4_decompress_safe_partial
$ git grep -Fl LZ4_decompress_safe
src/journal/compress.c

systemctl uses it via show_journal_by_unit() in &quot;status&quot; command to &quot;show terse runtime status information about one or more units, followed by most recent log data from the journal&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149592</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2015-01-07 21:16:24 +0300</bug_when>
    <thetext>&lt;shaba&gt; меня бы больше устроило lz4 в /lib.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149627</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2015-01-12 13:20:00 +0300</bug_when>
    <thetext>Не уследил за зависимостями. Думал что lz4 нужен только для journalctl и journald.
Не хотелось бы лишать systemd возможности использовать для сжатия журналов алгоритм lz4, поэтому лучше перенести lz4 в /lib.

to real@: перенесешь liblz4 в /lib? или отключать поддержку lz4 в systemd?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149642</commentid>
    <comment_count>4</comment_count>
    <who name="real@altlinux.org">real.altlinux.org</who>
    <bug_when>2015-01-13 05:10:35 +0300</bug_when>
    <thetext>&quot;перенесешь liblz4 в /lib?&quot;

Сейчас.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149643</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2015-01-13 05:53:00 +0300</bug_when>
    <thetext>lz4-r127-alt1.svn20141224 -&gt; sisyphus:

* Tue Jan 13 2015 Eugeny A. Rostovtsev (REAL) &lt;real at altlinux&gt; r127-alt1.svn20141224
- New snapshot
- Moved libraries from /usr/lib into /lib (ALT #30628)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>