Debian Bug report logs - #506416

version graph

Package: ocsinventory-agent; Maintainer for ocsinventory-agent is Pierre Chifflier <>; Source for ocsinventory-agent is src:ocsinventory-agent.

Reported by: Josselin Mouette <>

Date: Fri, 21 Nov 2008 10:09:31 UTC

Severity: important

Found in version ocsinventory-agent/1:

Fixed in version ocsinventory-agent/1:

Done: Pierre Chifflier <>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox

Report forwarded to, Pierre Chifflier <>:
Bug#506416; Package ocsinventory-agent. (Fri, 21 Nov 2008 10:09:41 GMT) Full text and rfc822 format available.

Acknowledgement sent to Josselin Mouette <>:
New Bug report received and forwarded. Copy sent to Pierre Chifflier <>. (Fri, 21 Nov 2008 10:10:17 GMT) Full text and rfc822 format available.

Message #5 received at (full text, mbox):

From: Josselin Mouette <>
Subject: ocsinventory-agent:
Date: Fri, 21 Nov 2008 11:01:16 +0100
[Message part 1 (text/plain, inline)]
Package: ocsinventory-agent
Version: 1:
Severity: important

(Frankly I’m tempted to set the severity to critical given this will
actually break unrelated software.)

I was wondering what was causing 30 GB of traffic each morning on a
group of computers. I came out laughing nervously all around when I
discovered this is caused by the OCS agent.

The following code in Agent/ is executed:
    foreach my $d (@INC) {
      next unless -d $d;
      File::Find::find( sub {
          push @installed_mod, $File::Find::name if $File::Find::name =~ /Ocsinventory\/Agent\/Backend\/.*\.pm$/;
          , $d);

Since @INC contains ".", this actually leads to a full scan of all
subdirectories from $pwd.

Guess what, the cron job chdirs to / before running the script. Not a
good idea when you have NFS mounts.

: :' :      We are Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Pierre Chifflier <>:
You have taken responsibility. (Fri, 21 Nov 2008 12:27:11 GMT) Full text and rfc822 format available.

Notification sent to Josselin Mouette <>:
Bug acknowledged by developer. (Fri, 21 Nov 2008 12:27:12 GMT) Full text and rfc822 format available.

Message #10 received at (full text, mbox):

From: Pierre Chifflier <>
Subject: Bug#506416: fixed in ocsinventory-agent 1:
Date: Fri, 21 Nov 2008 12:02:03 +0000
Source: ocsinventory-agent
Source-Version: 1:

We believe that the bug you reported is fixed in the latest version of
ocsinventory-agent, which is due to be installed in the Debian FTP archive:

  to pool/main/o/ocsinventory-agent/ocsinventory-agent_0.0.9.2repack1-5.diff.gz
  to pool/main/o/ocsinventory-agent/ocsinventory-agent_0.0.9.2repack1-5.dsc
  to pool/main/o/ocsinventory-agent/ocsinventory-agent_0.0.9.2repack1-5_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Pierre Chifflier <> (supplier of updated ocsinventory-agent package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing

Hash: SHA1

Format: 1.8
Date: Fri, 21 Nov 2008 12:53:55 +0100
Source: ocsinventory-agent
Binary: ocsinventory-agent
Architecture: source all
Version: 1:
Distribution: unstable
Urgency: low
Maintainer: Pierre Chifflier <>
Changed-By: Pierre Chifflier <>
 ocsinventory-agent - Hardware and software inventory tool (client)
Closes: 506416
 ocsinventory-agent (1: unstable; urgency=low
   * New patch exclude_curdir_recursion:
     Do not recurse all directories from . (especially when . is /)
     Closes: #506416 (important)
 7a642b2a83c94fa98f4016652b13a3651930c8de 1302 ocsinventory-agent_0.0.9.2repack1-5.dsc
 a33f9eb0e688ba99387ff3560709b334045227b1 12101 ocsinventory-agent_0.0.9.2repack1-5.diff.gz
 9b220b853813a74bdcae45110f047b899e5c3305 81984 ocsinventory-agent_0.0.9.2repack1-5_all.deb
 c4e2375c8a6a3290578c8b79ffd6cc89e7bf072ba7f9e674b7ed0f9e43ba0b68 1302 ocsinventory-agent_0.0.9.2repack1-5.dsc
 61ce6a865c0d5902c9748cf04f207d545f8fd98bd83df236086f3de0cfd0e3d4 12101 ocsinventory-agent_0.0.9.2repack1-5.diff.gz
 1ce938937dd499198ad4ebd2aec593b437d79c936215956cc124dcbe2fd170a8 81984 ocsinventory-agent_0.0.9.2repack1-5_all.deb
 c562e184ac0a56f9a0e89dfa18f94543 1302 net extra ocsinventory-agent_0.0.9.2repack1-5.dsc
 1f558636c90d44123b0709d874844693 12101 net extra ocsinventory-agent_0.0.9.2repack1-5.diff.gz
 16b46ce0c7149a8f9d053416b98b6d12 81984 net extra ocsinventory-agent_0.0.9.2repack1-5_all.deb

Version: GnuPG v1.4.9 (GNU/Linux)


Bug archived. Request was from Debbugs Internal Request <> to (Mon, 16 Mar 2009 07:58:30 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.

Debian bug tracking system administrator <>. Last modified: Sun Apr 20 09:06:30 2014; Machine Name:

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.