The init script for canna creates its own log file: ... else touch "${CANNASERVER_LOGFILE}" chmod u+w "${CANNASERVER_LOGFILEj}" fi if [ ! -z "${CANNASERVER_OWNER}" ] ; then if [ -f "${CANNASERVER_LOGFILE}" ] ; then chown "${CANNASERVER_OWNER}" "${CANNASERVER_LOGFILE}" fi ... A single call to "checkpath" from OpenRC (man openrc-run) would be more appropriate here. It's slightly more portable, being part of OpenRC, and more secure: chown and chmod will follow symlinks, whereas checkpath will not. I don't see any problem with the chown/chmod above, but since checkpath is preferable anyway, their absence would provide some peace of mind.
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f479e1a55e376ef959b82b028339444348e79a3