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

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

    <bug>
          <bug_id>11673</bug_id>
          
          <creation_ts>2007-05-02 02:02:59 +0400</creation_ts>
          <short_desc>sar fails to run sadc</short_desc>
          <delta_ts>2007-11-16 13:32:20 +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>sysstat</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></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="bip@altlinux.org">bip</assigned_to>
          <cc>bip</cc>
    
    <cc>ldv</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49754</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-05-02 02:02:59 +0400</bug_when>
    <thetext># strace -ff sar -d 1 100 | grep sda
[...]
[pid 14413] execve(&quot;/usr/lib64/sadc&quot;, [&quot;sadc&quot;, &quot;1&quot;, &quot;101&quot;, &quot;-z&quot;, &quot;-d&quot;], [/* 27
vars */]) = -1 ENOENT (No such file or directory)
[pid 14413] execve(&quot;/root/bin/sadc&quot;, [&quot;sadc&quot;, &quot;1&quot;, &quot;101&quot;, &quot;-z&quot;, &quot;-d&quot;], [/* 27
vars */]) = -1 ENOENT (No such file or directory)
[pid 14413] execve(&quot;/sbin/sadc&quot;, [&quot;sadc&quot;, &quot;1&quot;, &quot;101&quot;, &quot;-z&quot;, &quot;-d&quot;], [/* 27 vars
*/]) = -1 ENOENT (No such file or directory)
[pid 14413] execve(&quot;/usr/sbin/sadc&quot;, [&quot;sadc&quot;, &quot;1&quot;, &quot;101&quot;, &quot;-z&quot;, &quot;-d&quot;], [/* 27
vars */]) = -1 ENOENT (No such file or directory)
[pid 14413] execve(&quot;/usr/local/sbin/sadc&quot;, [&quot;sadc&quot;, &quot;1&quot;, &quot;101&quot;, &quot;-z&quot;, &quot;-d&quot;], [/*
27 vars */]) = -1 ENOENT (No such file or directory)
[pid 14413] execve(&quot;/bin/sadc&quot;, [&quot;sadc&quot;, &quot;1&quot;, &quot;101&quot;, &quot;-z&quot;, &quot;-d&quot;], [/* 27 vars
*/]) = -1 ENOENT (No such file or directory)
[pid 14413] execve(&quot;/usr/bin/sadc&quot;, [&quot;sadc&quot;, &quot;1&quot;, &quot;101&quot;, &quot;-z&quot;, &quot;-d&quot;], [/* 27
vars */]) = -1 ENOENT (No such file or directory)
[pid 14413] execve(&quot;/usr/local/bin/sadc&quot;, [&quot;sadc&quot;, &quot;1&quot;, &quot;101&quot;, &quot;-z&quot;, &quot;-d&quot;], [/*
27 vars */]) = -1 ENOENT (No such file or directory)
[pid 14413] execve(&quot;/usr/X11R6/bin/sadc&quot;, [&quot;sadc&quot;, &quot;1&quot;, &quot;101&quot;, &quot;-z&quot;, &quot;-d&quot;], [/*
27 vars */]) = -1 ENOENT (No such file or directory)
[pid 14413] execve(&quot;/usr/games/sadc&quot;, [&quot;sadc&quot;, &quot;1&quot;, &quot;101&quot;, &quot;-z&quot;, &quot;-d&quot;], [/* 27
vars */]) = -1 ENOENT (No such file or directory)
[pid 14413] dup(2)                      = 3
[pid 14413] fcntl(3, F_GETFL)           = 0x8002 (flags O_RDWR|O_LARGEFILE)
[pid 14413] fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
[pid 14413] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x2aaaaaac4000
[pid 14413] lseek(3, 0, SEEK_CUR)       = -1 ESPIPE (Illegal seek)
[pid 14413] write(3, &quot;exec: No such file or directory\n&quot;, 32exec: No such file
or directory
) = 32
[pid 14413] close(3)                    = 0
[pid 14413] munmap(0x2aaaaaac4000, 4096) = 0
[pid 14413] exit_group(4)               = ?
Process 14413 detached
&lt;... read resumed&gt; &quot;&quot;, 240)             = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(0)                           = ?
Process 14412 detached
# rpm -ql sysstat | grep sadc       
/usr/lib64/sa/sadc
/usr/share/man/man8/sadc.8.gz

similar on i586</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49756</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-05-02 02:15:44 +0400</bug_when>
    <thetext>workaround: 
mkdir /root/bin
ln -s /usr/lib64/sa/sadc /root/bin/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49772</commentid>
    <comment_count>2</comment_count>
    <who name="Victor Forsyuk">force</who>
    <bug_when>2007-05-02 14:57:00 +0400</bug_when>
    <thetext>Мда... Автор перешел с самодельных скриптов на автотулзовские. Я вроде как все
подпорки поставил, но в одном месте рука дрогнула, а я был слишком уставшим,
чтобы заметить. :(

7.1.4-alt1 (свежая версия) с исправлением уже собрался для Сизифа. Прошу втянуть
ее в бранч. Изменения в этой версии:

This version of sysstat adds a new command (pidstat) aimed at reporting
statistics for Linux tasks (processes). This command will replace sar&apos;s options
-x and -X and will have many more features (e.g. I plan to add per-process I/O
statistics in next sysstat release).
Another change in this version which is worth being noted is the addition of
option -N to iostat. This option enables the user to query any device-mapper
devices for their registered device name. It should prove useful for viewing
LVM2 statistics.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49781</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-05-02 16:32:14 +0400</bug_when>
    <thetext>Спасибо!  Я тоже заметил в изрядно уставшем состоянии -- не выровнял вовремя
raid5 по границе страйпа, вторые сутки развлекаюсь в онлайновое перетаскивание
под огнём качающих. :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>