Bug 201116

Summary: net-mgmt/cacti 0.8.8.d patch to fix delete data sources and starts perl scripts
Product: Ports & Packages Reporter: Denys Razumov <zxzharmlesszxz>
Component: Individual Port(s)Assignee: Jason Unovitch <junovitch>
Status: Closed Feedback Timeout    
Severity: Affects Some People CC: cs, freebsd-ports, junovitch
Priority: --- Keywords: needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (freebsd-ports)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to fix data sources and perl scripts none

Description Denys Razumov 2015-06-25 23:27:51 UTC
Created attachment 158060 [details]
patch to fix data sources and perl scripts

In version 0.8.8d in the code i found errors and wrote this patch to fix their
Comment 1 Daniel Austin 2015-06-26 03:50:03 UTC
Do the perl scripts not run without the full path in them?
/usr/local/bin/ should be in the default search path...

Also, I'm not too happy with us patching up a cacti bug from our side - have you raised the data sources issue with the cacti project?
That change is far better suited in the source repo than on our side I think.
Comment 2 Denys Razumov 2015-06-26 19:47:08 UTC
(In reply to Daniel Austin from comment #1)
I wrote about this bug on cacti project forum.
invoking all perl scripts(package scripts or own writen) without full path become to result with message ERROR: Empty result: '/usr/bin/perl <cacti path>/scripts/<script name>.pl <params>'
Comment 3 Denys Razumov 2015-06-26 20:48:07 UTC
Source lib/api_data_source.php not need patch already.
Project developers already fixed this error in they sources.
Comment 4 Daniel Austin 2015-07-22 08:30:16 UTC
Hi,

Could you see if this is resolved in cacti 0.8.8f_1 (committed yesterday) ?


Thanks,

Dan.
Comment 5 Jason Unovitch freebsd_committer freebsd_triage 2015-12-28 00:03:31 UTC
Denys,
Can you confirm this was fixed in a current version of Cacti?
Comment 6 Jason Unovitch freebsd_committer freebsd_triage 2016-02-14 13:46:16 UTC
Denys,
Any update?
Comment 7 Jason Unovitch freebsd_committer freebsd_triage 2016-02-21 16:07:05 UTC
No update from submitter in 8 months and no other confirmation of this.  Closing as feedback timeout.