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

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

    <bug>
          <bug_id>4144</bug_id>
          
          <creation_ts>2004-05-13 13:13:06 +0400</creation_ts>
          <short_desc>недопустимая ошибка в скриптах</short_desc>
          <delta_ts>2009-07-21 19:57:10 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>jackd</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="inger@altlinux.org">inger</reporter>
          <assigned_to name="Yuri N. Sedunov">aris</assigned_to>
          <cc>erthad</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13614</commentid>
    <comment_count>0</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2004-05-13 13:13:06 +0400</bug_when>
    <thetext>postinstall scriptlet (through /bin/sh): 
dir=&quot;/var/lib/jack/tmp&quot; 
fstype=ramfs 
fstab=/etc/fstab 
mtab=/etc/mtab 
fstab_entry=&quot;jacktmp    &quot;$dir&quot;  &quot;$fstype&quot;       defaults        0 0&quot; 
 
mount_jackit_tmpdir() 
{ 
echo -ne &quot;Mounting jack temporary directory...\t&quot; 
mount $dir &amp;&amp; \ 
echo &quot;done&quot; || \ 
{ echo &quot;failed to mount jack temporary directory&quot;; exit 0; } 
    if [ -f /etc/rc.d/init.d/jack ]; then 
        /bin/sh /etc/rc.d/init.d/jack 
    fi 
} 
 
if [ -f $fstab ]; then 
echo -ne &quot;Finding jack temporary directory mount point in $fstab...\t&quot; 
    if grep -qs &quot;jack&quot; $fstab; then 
        if ! grep -qs &quot;$dir&quot; $fstab; then 
            echo &quot;found&quot; 
            echo &quot;but this entry does not match the one needed by jack&quot; 
            echo &quot;Please add the following line to $fstab manually&quot; 
            echo &quot;$fstab_entry&quot; 
.......... 
 
Такие вещи надо делать отдельной утилитой но ни в коем случае как скрипт 
Пакет будет в contrib, до исправления ошибки</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13615</commentid>
    <comment_count>1</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2004-05-13 13:13:39 +0400</bug_when>
    <thetext>это block 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13664</commentid>
    <comment_count>2</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2004-05-14 15:07:20 +0400</bug_when>
    <thetext>&gt; Такие вещи надо делать отдельной утилитой но ни в коем случае как скрипт 

Какие-такие вещи? Почему? Какой-такой отдельной утилитой?
Объясните тупому поподробней, пожалуйста.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40523</commentid>
    <comment_count>3</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2006-09-25 14:39:30 +0400</bug_when>
    <thetext>на нового маинтейнера</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88726</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-04-05 15:45:58 +0400</bug_when>
    <thetext>На старого матёрого майнтейнера.

В 0.116.1 вынесено отдельным скриптом %_libdir/jack/mkjackdtmpdir.

Если я хоть что-то понял насчёт &quot;отдельной _утилиты_&quot; -- то речь о race, которых в сишном коде возможно избежать при помощи некой правильной работы с дескрипторами.  Стас, объясняй ;-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88772</commentid>
    <comment_count>5</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2009-04-06 12:34:57 +0400</bug_when>
    <thetext>(В ответ на комментарий №4)
&gt; На старого матёрого майнтейнера.
&gt; 
&gt; В 0.116.1 вынесено отдельным скриптом %_libdir/jack/mkjackdtmpdir.
&gt; 
&gt; Если я хоть что-то понял насчёт &quot;отдельной _утилиты_&quot; -- то речь о race,
&gt; которых в сишном коде возможно избежать при помощи некой правильной работы с
&gt; дескрипторами.  Стас, объясняй ;-)
Это было в 2004 году ;)
Вообще я не помню чтобы имел в виду какие-то рейсы, так что закрывайте ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95023</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-07-21 19:57:10 +0400</bug_when>
    <thetext>ack</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>