FS#60919 - [netdata] edit-config script (and others) uses wrong prefix
Attached to Project:
Community Packages
Opened by Sefa Eyeoglu (Scrumplex) - Tuesday, 27 November 2018, 14:24 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 25 February 2019, 09:41 GMT
Opened by Sefa Eyeoglu (Scrumplex) - Tuesday, 27 November 2018, 14:24 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 25 February 2019, 09:41 GMT
|
Details
Description:
The edit-config script located in /etc/netdata handles editing most config files. It should be used in favor of any manual copy operation. But the script provided by the package looks for config files in the wrong prefix. It looks in "/usr/local/etc/netdata" and "/usr/local/lib/netdata/conf.d". This should be changed to "/etc/netdata" and "/usr/lib/netdata/conf.d" respectively. Additional info: * package version(s) 1.11.1-1 * config and/or log files etc. Steps to reproduce: Run /etc/netdata/edit-config netdata.conf |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Monday, 25 February 2019, 09:41 GMT
Reason for closing: Fixed
Monday, 25 February 2019, 09:41 GMT
Reason for closing: Fixed
¹ https://bugs.archlinux.org/task/61316
FS#61316this is a problem with a number of files provided by the package, and the upstream build system is somehow ignoring the configure options.Discussion: https://github.com/netdata/netdata/issues/5136
https://github.com/netdata/netdata/issues/5136
I'm not sure if this will require some modifications of the install scripts.