Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607476 - app-admin/collectd-5.6.2 - /etc/collectd.conf is not readable
Summary: app-admin/collectd-5.6.2 - /etc/collectd.conf is not readable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Thomas Deutschmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-28 13:13 UTC by Ján Regeš
Modified: 2017-01-29 14:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)