[ZBX-5571] system.sw.packages broken with multiple package systems Created: 2012 Sep 11  Updated: 2017 May 30  Resolved: 2012 Sep 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: None
Fix Version/s: 2.0.4rc1, 2.1.0

Type: Incident report Priority: Minor
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: linux
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

more or less current trunk



 Description   

if there's more than one package system found, all subsequent package systems report packages found from the previous ones.

for example, if package system 'slackpkg' returns packages a, b and c but 'rpm' returns x, y and z, rpm is actually reported as returning a, b, c, x, y, z

this only happens if manager is not specified - that is, information about multiple package management systems is returned in single call.



 Comments   
Comment by richlv [ 2012 Sep 11 ]

interestingly, this seems to have been broken (unless i messed up in testing) by :

$ svn log -c 26573
------------------------------------------------------------------------
r26573 | andris | 2012-04-03 13:21:59 +0300 (Tue, 03 Apr 2012) | 1 line

...G...... ZBX-4802 improved memory de-allocation code clarity
------------------------------------------------------------------------

Comment by Andris Mednis [ 2012 Sep 13 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5571

Comment by Alexander Vladishev [ 2012 Sep 17 ]

Successfully tested!

Comment by Andris Mednis [ 2012 Oct 04 ]

Fixed in versions pre-2.0.4 rev. 30625 and pre-2.1.0 rev. 30626.

Generated at Wed May 08 20:52:27 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.