FS#70136 - cacti: ss_host_disk.php search to acces to /var/lib/cacti/lib and /var/lib/include

Attached to Project: Community Packages
Opened by Christophe Réquillart (crequill) - Tuesday, 23 March 2021, 17:42 GMT
Last edited by David Runge (dvzrv) - Tuesday, 05 April 2022, 18:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When /usr/share/webapps/cacti/scripts/ss_host_disk.php (in fact /var/lib/cacti/scripts/ss_host_disk.php is running, it search to access ../lib/cacti and ../lib/include which didn't exist. They are in /usr/share/webapps/cacti. So I create two links:
ln -s /usr/share/webapps/cacti/lib /var/lib/cacti/
ln -s /usr/share/webapps/cacti/include /var/lib/cacti/
and ss_host_disk.php can run without errors.

Additional info:
* package version(s) 1.2.16-3


Steps to reproduce:
Launch ss_host_disk.php under cacti user
This task depends upon

Closed by  David Runge (dvzrv)
Tuesday, 05 April 2022, 18:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with 1.2.20-1
Comment by David Runge (dvzrv) - Tuesday, 05 April 2022, 16:55 GMT
@crequill: Thanks for the ticket and sorry for the long time until there's a reply. This package is not on the top of my list.

I'll fix this with the upcoming version bump.

Loading...