Upstream changed path so net-analyzer/smokeping-2.7.1 fails to start on gentoo; the config file isn't normalized. Reproducible: Always Actual Results: ERROR: can't open /usr/bin/../etc/config: No such file or directory /usr/bin/smokeping -Smokeping::main("$FindBin::Bin/../etc/config"); +Smokeping::main("$FindBin::RealBin/../etc/config"); ebuild has the previous 'Bin/' and need to be updated with 'RealBin/' to rewrite the path correctly. sed -i -e 's/$FindBin::Bin\/..\/etc\/config/\/etc\/smokeping\/config/g' "${D}/usr/bin/smokeping" "${D}/usr/bin/smokeping_cgi" || die alternative workaround is to modify the init to append the --config statement -command_args="--nodaemon" +command_args="--nodaemon --config /etc/smokeping/config"
Fixed in -r1. Thanks!