Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 607476

Summary: app-admin/collectd-5.6.2 - /etc/collectd.conf is not readable
Product: Gentoo Linux Reporter: Ján Regeš <jan.reges>
Component: Current packagesAssignee: Thomas Deutschmann (RETIRED) <whissi>
Status: RESOLVED FIXED    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ján Regeš 2017-01-28 13:13:09 UTC
Hi,

init script /etc/init.d/collectd for version 5.6.2 contains an error.

Error message for configtest, start, etc..: collectd: `"/etc/collectd.conf"' is not readable.

Problem is this line: required_files="\"${COLLECTD_CONFIGFILE}\""

When i removed backshlashed quotes, it works.

So, working line is: required_files="${COLLECTD_CONFIGFILE}"

Check it, thank you.
Comment 1 Ján Regeš 2017-01-28 13:19:44 UTC
I know probably, where is the problem.

With OpenRC 0.22.4 it works, but with older OpenRC 0.17 doesn't.

Maybe there should be defined dependency to newer compatible OpenRC?
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2017-01-29 13:55:21 UTC
Wow, 0.17 still around? Was fixed in 0.18.x, see bug 562320. I'll add a blocker for older versions.
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2017-01-29 14:12:57 UTC
Now in repository, https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e13449ed7ee3dc75312d3ed44c7d507a68312a0c

Thanks for the report!
Comment 4 Ján Regeš 2017-01-29 14:16:45 UTC
Thank you guys :)