Package: ocsinventory-agent
Version: 2:1.1.1-2.1
Severity: important

As a result of the cron job switching to '/' before running agent, the scanner 
tries to traverse a 2TB network mount.  I believe this is becasue '.' is added 
to @INC.  

As a result, the agent takes an awfully long time to complete, if at all.  It 
cause quite a problem when several agents with the same NFS mount all run in 
the morning.  Running the agent manually from '/' and checking with lsof 
confirms the agent scanning through the NFS mount, running the agent from any 
other location on the local filesystem runs without issue.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ocsinventory-agent depends on:
ii  debconf [debconf-2.0]         1.5.33     Debian configuration management sy
ii  libcompress-zlib-perl         2.024-1    Transitional dummy package for Com
ii  libio-compress-perl [libcompr 2.024-1    bundle of IO::Compress modules
ii  libnet-ip-perl                1.25-2     Perl extension for manipulating IP
ii  libnet-ssleay-perl            1.36-1     Perl module for Secure Sockets Lay
ii  libproc-daemon-perl           0.03-2     Run Perl program as a daemon proce
ii  libwww-perl                   5.836-1    Perl HTTP/WWW client/server librar
ii  libxml-simple-perl            2.18-3     Perl module for reading and writin
ii  perl [libcompress-zlib-perl]  5.10.1-13  Larry Wall's Practical Extraction 
ii  po-debconf                    1.0.16     tool for managing templates file t
ii  ucf                           3.0025     Update Configuration File: preserv

ocsinventory-agent recommends no packages.

Versions of packages ocsinventory-agent suggests:
ii  dmidecode               2.9-1.2          Dump Desktop Management Interface 
ii  nmap                    5.00-3           The Network Mapper
ii  pciutils                1:3.1.7-4        Linux PCI Utilities
pn  read-edid               <none>           (no description available)
ii  smartmontools           5.39.1+svn3124-1 control and monitor storage system

-- Configuration Files:
/etc/cron.daily/ocsinventory-agent changed:
PROG=/usr/bin/ocsinventory-agent
if [ ! -x "$PROG" ]; then
    exit 0
fi
cd /root && $PROG > /dev/null 2>&1


-- debconf information:
* ocsinventory-agent/method: http
  ocsinventory-agent/tag:
* ocsinventory-agent/server: legolas



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to