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

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

    <bug>
          <bug_id>22617</bug_id>
          
          <creation_ts>2009-12-25 08:52:10 +0300</creation_ts>
          <short_desc>Некорректная работа через cron</short_desc>
          <delta_ts>2010-01-06 16:43:57 +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>ocsinventory-agent</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="VladGousev">gusev.v.u</reporter>
          <assigned_to name="zidex@altlinux.org">zidex</assigned_to>
          <cc>cas</cc>
    
    <cc>gusev.v.u</cc>
    
    <cc>pavel.zilke</cc>
    
    <cc>zidex</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104793</commentid>
    <comment_count>0</comment_count>
    <who name="VladGousev">gusev.v.u</who>
    <bug_when>2009-12-25 08:52:10 +0300</bug_when>
    <thetext>Задание ocsinventory-agent, которое создаётся при установке пакета в /etc/cron.daily отрабытывает не совсем корректно - не опознаются сетевые интерфейсы. При принудительноми запуске /usr/bin/ocsinventory-agent из под пользователя root интерфейсы обнаруживаются.
Для исправления ситуации создано другое задание:

# cat /etc/cron.d/ocsinventory-agent
SHELL=/bin/bash
PATH=/sbin:/usr/sbin:/bin:/usr/bin

00 01 * * * root /usr/bin/ocsinventory-agent  &gt; /dev/null 2&gt;&amp;1

При отработке данного задания все устройства опознаются корректно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105197</commentid>
    <comment_count>1</comment_count>
    <who name="Pavel Zilke">pavel.zilke</who>
    <bug_when>2010-01-06 16:43:57 +0300</bug_when>
    <thetext>Исправленная версия (1.02-alt5) отправлена в Сизиф и 5.1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>