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

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

    <bug>
          <bug_id>34356</bug_id>
          
          <creation_ts>2017-12-19 09:46:45 +0300</creation_ts>
          <short_desc>ошибка в обработке строки</short_desc>
          <delta_ts>2017-12-19 13:39:22 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p8</product>
          <component>fuse-zfs</component>
          <version>не указана</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton Shevtsov">shevtsov.anton</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>lav</cc>
          
          <qa_contact name="qa-p8@altlinux.org">qa-p8</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>168030</commentid>
    <comment_count>0</comment_count>
    <who name="Anton Shevtsov">shevtsov.anton</who>
    <bug_when>2017-12-19 09:46:45 +0300</bug_when>
    <thetext>не стартовал сервис zfs.
псмотрел что systemd запускает /usr/bin/zfs-fuse-helper start
запустил руками
sudo /usr/bin/zfs-fuse-helper start

получил 
Cleaning up stale zfs-fuse PID file in /var/run/zfs-fuse.pid
Starting zfs-fuse:                                                                                                                                                                                                                   [ DONE ]
Immunizing zfs-fuse against OOM kills/usr/bin/zfs-fuse-helper: line 86: /proc/ 26540/oom_score_adj: No such file or directory
/usr/bin/zfs-fuse-helper: line 89: echo_warning: command not found
code 1

увидел что в 86 строке затесался пробел
псмотрел исходник

    echo -n &quot;Immunizing $prog against OOM kills&quot;
    echo -17 &gt; &quot;/proc/$PID/oom_score_adj&quot;

изменил на

    echo -n &quot;Immunizing $prog against OOM kills&quot;
    PID=`echo $PID|sed &apos;s/ //g&apos;`
    echo -17 &gt; &quot;/proc/$PID/oom_score_adj&quot;

сервис запустился.. но это костыль. надо элегантнее.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>