Mac OS X package in downloads section has broken Compress::Zlib
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Unified Unix Agent |
Opinion
|
Low
|
mortheres |
Bug Description
Not strictly a bug in the agent, but the packaged version of the Agent on the OCS Inventory website contains a broken version of Compress::Zlib, causing the agent to fail on OS X 10.5 and older when used with a server that can't handle gzip compression.
The Compress::Zlib package is *not* pure perl in v2 and above, but the portions of it that are packaged with the agent only contain the perl parts of it. It also requires Compress:
On systems that *do* have Compress::Zlib::Raw available, there is no need to include Compress::Zlib at all. On systems that don't, you may be preventing them from using a perfectly adequate (older) version of Compress::Zlib that does not use Compress:
You either need to remove Compress::Zlib from the package altogether (and accept that the agent will not work with non-gzip-aware servers on systems that don't have Compress::Zlib), or include a complete (probably older - I don't think Compress::Zlib v1.x needed any extras) version of Compress::Zlib in the package.
Cheers,
Nick
Changed in ocsinventory-unix-agent: | |
assignee: | nobody → mortheres (mortheres) |
importance: | Undecided → Low |
Hi Nick,
Thanks a lot for your report. We will keep your report in mind when we will provide the new packaged MacOSX agent 2.0 . We will make test but I think the better solution will be to include an older Compress::Zlib in OCSNG.app to make it works with all the systems. OCSNG.app will use the perl modules which are in its current "lib" directory and so may not be in conflict with another Compress:Zlib (newer) module installed on system.
We will make tests and choose the better solution for this problem :) :).
Kind regards,
Guillaume