Debian Bug report logs - #506416
ocsinventory-agent:

version graph

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

Reported by: Josselin Mouette <joss@debian.org>

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

Severity: important

Found in version ocsinventory-agent/1:0.0.9.2repack1-4

Fixed in version ocsinventory-agent/1:0.0.9.2repack1-5

Done: Pierre Chifflier <pollux@debian.org>

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 debian-bugs-dist@lists.debian.org, Pierre Chifflier <pollux@debian.org>:
Bug#506416; Package ocsinventory-agent. (Fri, 21 Nov 2008 10:09:41 GMT) Full text and rfc822 format available.

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

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Josselin Mouette <joss@debian.org>
To: submit@bugs.debian.org
Subject: ocsinventory-agent:
Date: Fri, 21 Nov 2008 11:01:16 +0100
[Message part 1 (text/plain, inline)]
Package: ocsinventory-agent
Version: 1:0.0.9.2repack1-4
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/Backend.pm 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 debian.org. 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 <pollux@debian.org>:
You have taken responsibility. (Fri, 21 Nov 2008 12:27:11 GMT) Full text and rfc822 format available.

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

Message #10 received at 506416-close@bugs.debian.org (full text, mbox):

From: Pierre Chifflier <pollux@debian.org>
To: 506416-close@bugs.debian.org
Subject: Bug#506416: fixed in ocsinventory-agent 1:0.0.9.2repack1-5
Date: Fri, 21 Nov 2008 12:02:03 +0000
Source: ocsinventory-agent
Source-Version: 1:0.0.9.2repack1-5

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:

ocsinventory-agent_0.0.9.2repack1-5.diff.gz
  to pool/main/o/ocsinventory-agent/ocsinventory-agent_0.0.9.2repack1-5.diff.gz
ocsinventory-agent_0.0.9.2repack1-5.dsc
  to pool/main/o/ocsinventory-agent/ocsinventory-agent_0.0.9.2repack1-5.dsc
ocsinventory-agent_0.0.9.2repack1-5_all.deb
  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
attached.

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

Debian distribution maintenance software
pp.
Pierre Chifflier <pollux@debian.org> (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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
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:0.0.9.2repack1-5
Distribution: unstable
Urgency: low
Maintainer: Pierre Chifflier <pollux@debian.org>
Changed-By: Pierre Chifflier <pollux@debian.org>
Description: 
 ocsinventory-agent - Hardware and software inventory tool (client)
Closes: 506416
Changes: 
 ocsinventory-agent (1:0.0.9.2repack1-5) unstable; urgency=low
 .
   * New patch exclude_curdir_recursion:
     Do not recurse all directories from . (especially when . is /)
     Closes: #506416 (important)
Checksums-Sha1: 
 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
Checksums-Sha256: 
 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
Files: 
 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJJqGrtwVrWo1fQMsRApkAAKC7niLvJpwrIWzlZBIqLsSivHmIswCeLB3L
LekhwYue9LoTk/Unbfap/Zw=
=iDx6
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (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 <owner@bugs.debian.org>. Last modified: Sun Apr 20 09:06:30 2014; Machine Name: buxtehude.debian.org

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