I can't get logs from influxdb. From what i understand, influxdb uses stdout/stderr, and the init.d file has this: error_log="${error_log:-/var/log/influxdb/influxd.log}" output_log="${output_log:-/dev/null}" I guess error_log / output_log are some generic openrc variables to redirect stdout/stderr of a daemon. Though it doesn't work. If i put anything in /etc/conf.d/influxdb, such as: error_log="/var/log/influxdb/error.log" output_log="/var/log/influxdb/output.log" Or anything else, nothing get written to. Files aren't even created. The permissions seem ok (created by the ebuild, i did nothing): drwxr-xr-x 2 influxdb influxdb 4096 Sep 22 15:41 /var/log//influxdb It doesn't prevent influxdb to start though, and ps aux confirms it runs, under the influxdb user: influxdb 19193 0.1 0.1 819412 30524 ? Ssl 18:29 0:00 /usr/bin/influxd -config /etc/influxdb/influxd.conf
Digging into documentation, my guess was wrong, and error_log/output_log have no meaning for openrc It works if i add this line to the init.d file : start_stop_daemon_args="--stdout ${output_log} --stderr ${error_log}"
Which version of openrc do you have? I think 0.34.11 doesn't understand error_log/output_log, but try the newest freshly stabilized 0.38.2 (https://github.com/gentoo/gentoo/commit/31976091d68ce049daea4f489ea9a71e91495caa).
Yes, i'm using 0.34.11. Currently updating to 0.38.2, that will probably fix it. There's a dependancy bug somewhere, then ?
Please upgrade to latest openrc, reboot and it should work. Please reopen if it doesn't work. It's not really a bug because influxdb is unstable whereas you are using a stable openrc. Unstable/testing versions often use the latest features of various subsystems, openrc in this case.