[Fusioninventory-commit] [fusinv/fusioninventory-agent] f6ca14: don't die if lock() fail

Gonéri Le Bouder goneri at rulezlan.org
Sat Sep 15 12:54:16 UTC 2012


  Branch: refs/heads/2.3.x
  Home:   https://github.com/fusinv/fusioninventory-agent
  Commit: f6ca147c70be9a3a895b19d12be012296afa47b3
      https://github.com/fusinv/fusioninventory-agent/commit/f6ca147c70be9a3a895b19d12be012296afa47b3
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Logger/File.pm

  Log Message:
  -----------
  don't die if lock() fail


  Commit: 2474d56061ec817890b2b94b37e5e8a2f66d221b
      https://github.com/fusinv/fusioninventory-agent/commit/2474d56061ec817890b2b94b37e5e8a2f66d221b
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M README

  Log Message:
  -----------
  move part of README in wiki.f.o


  Commit: f4f8faacc60e1cc4300352e0b9008ee8b27a601f
      https://github.com/fusinv/fusioninventory-agent/commit/f4f8faacc60e1cc4300352e0b9008ee8b27a601f
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Tools/Linux.pm
    A resources/generic/ifconfig/linux-fc17
    M t/tools/linux.t

  Log Message:
  -----------
  fix: linux ifconfig parsing on Fedora 17

ifconfig output on Fedora 17 is based on a net-tools git
snapshot:
  net-tools-1.60-138.20120702git.fc17.x86_64

The ifconfig output is much more UNIX like:
-->8------
    em1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.0.11 netmask 255.255.255.0 broadcast 192.168.0.255
    inet6 2a01:e35:2f18:2790:22cf:30ff:feec:c889 prefixlen 64 scopeid 0x0<global>
    inet6 fe80::22cf:30ff:feec:c889 prefixlen 64 scopeid 0x20<link>
    ether 20:cf:30:ec:c8:89 txqueuelen 1000 (Ethernet)
    RX packets 467964 bytes 438067184 (417.7 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 462167 bytes 273637311 (260.9 MiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 0 (Boucle locale)
    RX packets 121763 bytes 59893237 (57.1 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 121763 bytes 59893237 (57.1 MiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
    ether 52:54:00:38:0d:b7 txqueuelen 0 (Ethernet)
    RX packets 36309 bytes 2533768 (2.4 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 78400 bytes 112637354 (107.4 MiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

--8<------
Unlike UNIX ifconfig, there is an empty link like the common Linux
ifconfig.

https://bugzilla.redhat.com/show_bug.cgi?id=853982

Reported-by: Remi Collet <Remi at FamilleCollet.com>


  Commit: 392b58313ff1738462b3ce395914cc2f9f0a0917
      https://github.com/fusinv/fusioninventory-agent/commit/392b58313ff1738462b3ce395914cc2f9f0a0917
  Author: Remi Collet <Remi at FamilleCollet.com>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Tools/Linux.pm

  Log Message:
  -----------
  ifconfig: better status parsing


  Commit: e150f3d2f0404f55a30541a45161a50cdb97df95
      https://github.com/fusinv/fusioninventory-agent/commit/e150f3d2f0404f55a30541a45161a50cdb97df95
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Tools/Linux.pm

  Log Message:
  -----------
  capture less, post-process less


  Commit: df09d0c89e0761da4eafb27a29161aa3c4ea71cc
      https://github.com/fusinv/fusioninventory-agent/commit/df09d0c89e0761da4eafb27a29161aa3c4ea71cc
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Tools/Linux.pm

  Log Message:
  -----------
  clearer


  Commit: 79db057c2c6c28d902c2a0ef95b0522881cb07dd
      https://github.com/fusinv/fusioninventory-agent/commit/79db057c2c6c28d902c2a0ef95b0522881cb07dd
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Tools/Linux.pm

  Log Message:
  -----------
  miscaelanous regexp cleanup


  Commit: 79a1e0fcdadefd8ef281d6cb0c639f4c13d942e7
      https://github.com/fusinv/fusioninventory-agent/commit/79a1e0fcdadefd8ef281d6cb0c639f4c13d942e7
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Tools/Linux.pm

  Log Message:
  -----------
  no need to treat flags differently


  Commit: 08e9537cf61254e8dba2d4c263ed61b67e999ca6
      https://github.com/fusinv/fusioninventory-agent/commit/08e9537cf61254e8dba2d4c263ed61b67e999ca6
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Tools/Linux.pm

  Log Message:
  -----------
  one less variable


  Commit: 15e42e9d3730e3abe7209e13acf8a6179d883cc3
      https://github.com/fusinv/fusioninventory-agent/commit/15e42e9d3730e3abe7209e13acf8a6179d883cc3
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-05 (Wed, 05 Sep 2012)

  Changed paths:
    A t/changelog.t

  Log Message:
  -----------
  ensure changelog date format is RFC822


  Commit: 5aa7408e0740f31aa82943b933ac2dfbe220cb17
      https://github.com/fusinv/fusioninventory-agent/commit/5aa7408e0740f31aa82943b933ac2dfbe220cb17
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-05 (Wed, 05 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Tools/Linux.pm

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/2.2.x' into 2.2.x


  Commit: a4214a5764758905363480edd6ac96a30cd28f23
      https://github.com/fusinv/fusioninventory-agent/commit/a4214a5764758905363480edd6ac96a30cd28f23
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-05 (Wed, 05 Sep 2012)

  Changed paths:
    M t/changelog.t

  Log Message:
  -----------
  describe how to get generate the date string


  Commit: 28f5c4744ee07202ab79fd296d087dcd41dfa307
      https://github.com/fusinv/fusioninventory-agent/commit/28f5c4744ee07202ab79fd296d087dcd41dfa307
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Storages/HP.pm

  Log Message:
  -----------
  rework code for testability purpose


  Commit: 68a7f986255b8c3702ba334e7c36057eb8964392
      https://github.com/fusinv/fusioninventory-agent/commit/68a7f986255b8c3702ba334e7c36057eb8964392
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Storages/HP.pm

  Log Message:
  -----------
  cleanup regexps


  Commit: 4e9d69c63ff8b9062c3855cb9324f4b37084122a
      https://github.com/fusinv/fusioninventory-agent/commit/4e9d69c63ff8b9062c3855cb9324f4b37084122a
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Storages/HP.pm

  Log Message:
  -----------
  parse first, analyse second


  Commit: 890a2065e8311fa31e3b266d61525b05ab619fcf
      https://github.com/fusinv/fusioninventory-agent/commit/890a2065e8311fa31e3b266d61525b05ab619fcf
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    A resources/generic/hpacucli/README
    A resources/generic/hpacucli/drives
    A resources/generic/hpacucli/slots
    A resources/generic/hpacucli/storage
    A t/inventory/generic/storages/hp.t

  Log Message:
  -----------
  initial import


  Commit: 9fda6c26df1b8f84e1833bcad9ee74a09854c776
      https://github.com/fusinv/fusioninventory-agent/commit/9fda6c26df1b8f84e1833bcad9ee74a09854c776
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    R resources/generic/hpacucli/drives
    A resources/generic/hpacucli/sample1-drives
    A resources/generic/hpacucli/sample1-slots
    A resources/generic/hpacucli/sample1-storage
    A resources/generic/hpacucli/sample2-drives
    A resources/generic/hpacucli/sample2-slots
    A resources/generic/hpacucli/sample2-storage
    R resources/generic/hpacucli/slots
    R resources/generic/hpacucli/storage
    M t/inventory/generic/storages/hp.t

  Log Message:
  -----------
  add additional samples


  Commit: 09765da6bf82ca82a2db37057eb338f70231cf27
      https://github.com/fusinv/fusioninventory-agent/commit/09765da6bf82ca82a2db37057eb338f70231cf27
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Storages/HP.pm
    M t/inventory/generic/storages/hp.t

  Log Message:
  -----------
  use 1024 base, and take unit into account

Closes: 1807


  Commit: 8f25e0cdd986f3082e974cad4b631621e03aba4b
      https://github.com/fusinv/fusioninventory-agent/commit/8f25e0cdd986f3082e974cad4b631621e03aba4b
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M resources/generic/hpacucli/sample1-drives
    M resources/generic/hpacucli/sample1-storage
    M resources/generic/hpacucli/sample2-drives
    M resources/generic/hpacucli/sample2-slots
    M resources/generic/hpacucli/sample2-storage

  Log Message:
  -----------
  small indentation fixes, from actual output


  Commit: 8334eca914ba5c6983ea563eddfcdc3d0d3a404f
      https://github.com/fusinv/fusioninventory-agent/commit/8334eca914ba5c6983ea563eddfcdc3d0d3a404f
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Storages/HP.pm
    M t/inventory/generic/storages/hp.t

  Log Message:
  -----------
  use canonical size function


  Commit: 0d434d60cb8111bb8fb8e08e40c36b5d917ae5e6
      https://github.com/fusinv/fusioninventory-agent/commit/0d434d60cb8111bb8fb8e08e40c36b5d917ae5e6
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M Makefile.PL

  Log Message:
  -----------
  drop generation of html version of man pages

Embedded documentation is deprecated in favor of the web site, so let's
make installation process simpler.


  Commit: 45ef532e4d9cf865fc63092b29851f7ef2ae61c2
      https://github.com/fusinv/fusioninventory-agent/commit/45ef532e4d9cf865fc63092b29851f7ef2ae61c2
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M Changes

  Log Message:
  -----------
  cosmetics


  Commit: 0e98d58db8e42068a208623107c6b2a853691e4e
      https://github.com/fusinv/fusioninventory-agent/commit/0e98d58db8e42068a208623107c6b2a853691e4e
  Author: Guillaume Rousse <guillomovitch at gmail.com>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M Changes

  Log Message:
  -----------
  prepare for 2.2.6


  Commit: c93bcaa28fe459ccbcfdb4fa12960409a54c1782
      https://github.com/fusinv/fusioninventory-agent/commit/c93bcaa28fe459ccbcfdb4fa12960409a54c1782
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-12 (Wed, 12 Sep 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Logger/File.pm
    A t/components/logger-thread.t

  Log Message:
  -----------
  fix flock() call

This is a better fix for #1784. The agent will try during 60s to get
a lock on the log file and will give up after.

closes: #1784


  Commit: 5eeec90aab8110659cca28fbf8835f709427ee51
      https://github.com/fusinv/fusioninventory-agent/commit/5eeec90aab8110659cca28fbf8835f709427ee51
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-13 (Thu, 13 Sep 2012)

  Changed paths:
    M fusioninventory-win32-service

  Log Message:
  -----------
  ignore PERLLIB and PERL5LIB env var

some Oracle products set PERLLIB and PERL5LIB, because of that,
perl.exe try to load Oracle lib.

http://perldoc.perl.org/perlsec.html#Taint-mode
taint mode is probably a cleaner option but we will have to fix the
code first.

closes: #1810

Reported-by: Walid Nouh <walid.nouh at gmail.com>


  Commit: 5303a9e4d388bb7f6cf29c26968dd99ed0102918
      https://github.com/fusinv/fusioninventory-agent/commit/5303a9e4d388bb7f6cf29c26968dd99ed0102918
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-13 (Thu, 13 Sep 2012)

  Changed paths:
    M tools/createExtLinks.sh

  Log Message:
  -----------
  fix


  Commit: b6884e2f9910a2cb13ff249322efac5c89b0a635
      https://github.com/fusinv/fusioninventory-agent/commit/b6884e2f9910a2cb13ff249322efac5c89b0a635
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-13 (Thu, 13 Sep 2012)

  Changed paths:
    M fusioninventory-win32-service

  Log Message:
  -----------
  Revert "ignore PERLLIB and PERL5LIB env var"

This reverts commit 5eeec90aab8110659cca28fbf8835f709427ee51.

Following a discussion with Guillaume, -Ifoo will be include
first in @INC, PERLLIB and PERL5LIB will come after.

The alternative is to pass all the lib directory to perl.exe


  Commit: 033718780c4bbb9397863f97bca77cf6c254bd51
      https://github.com/fusinv/fusioninventory-agent/commit/033718780c4bbb9397863f97bca77cf6c254bd51
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-13 (Thu, 13 Sep 2012)

  Changed paths:
    R share/pci.ids
    A t/07pciids.t

  Log Message:
  -----------
  drop pci.ids from git

it's a volatile file maintain by another project. There is no
reason to keep our own (oudated) copy.


  Commit: 228f12108d09e5ea228e7dd01113a4796858439b
      https://github.com/fusinv/fusioninventory-agent/commit/228f12108d09e5ea228e7dd01113a4796858439b
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-13 (Thu, 13 Sep 2012)

  Changed paths:
    M tools/createExtLinks.sh

  Log Message:
  -----------
  add lib/FusionInventory/Agent/SNMP/Live.pm symlink


  Commit: fbd8e760196ae2b8b250d4b6e19751d3b2d9ef6f
      https://github.com/fusinv/fusioninventory-agent/commit/fbd8e760196ae2b8b250d4b6e19751d3b2d9ef6f
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-14 (Fri, 14 Sep 2012)

  Changed paths:
    M Changes
    M lib/FusionInventory/Agent.pm

  Log Message:
  -----------
  prepare 2.2.6 release


  Commit: bcb7b7a1715d362da9f268d36c7008a7a6972e76
      https://github.com/fusinv/fusioninventory-agent/commit/bcb7b7a1715d362da9f268d36c7008a7a6972e76
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-14 (Fri, 14 Sep 2012)

  Changed paths:
    M t/inventory/generic/lspci/controllers.t

  Log Message:
  -----------
  adjustment to follow pci.ids change


  Commit: 6f67b7d73cfbcdd1db6c29f3a56349e3ed5d8955
      https://github.com/fusinv/fusioninventory-agent/commit/6f67b7d73cfbcdd1db6c29f3a56349e3ed5d8955
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-14 (Fri, 14 Sep 2012)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  refresh .gitignore


  Commit: 89ad516ee2e37d3c1616b8eff58bcffe2b55e433
      https://github.com/fusinv/fusioninventory-agent/commit/89ad516ee2e37d3c1616b8eff58bcffe2b55e433
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-15 (Sat, 15 Sep 2012)

  Changed paths:
    M .gitignore
    M Changes
    M README
    M lib/FusionInventory/Agent/Logger/File.pm
    R share/pci.ids
    A t/07pciids.t
    A t/changelog.t
    A t/components/logger-thread.t
    M t/inventory/generic/lspci/controllers.t
    M tools/createExtLinks.sh

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/2.2.x' into 2.3.x


  Commit: cf8b0646e70cb11850f04d45b3681c1c24c675e9
      https://github.com/fusinv/fusioninventory-agent/commit/cf8b0646e70cb11850f04d45b3681c1c24c675e9
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-09-15 (Sat, 15 Sep 2012)

  Changed paths:
    M README

  Log Message:
  -----------
  improve Markdown syntax


Compare: https://github.com/fusinv/fusioninventory-agent/compare/aacc8f848944...cf8b0646e70c


More information about the Fusioninventory-commit mailing list