The /etc/init.d/dnetc script incorrectly sets "-ini /opt/conf.d/dnetc" when /opt/conf.d/dnetc exists. This file is not in a format understood by dnetc -- it's used by the inetd script itself. The net result is that existing and correct .ini files in /opt/distributed.net/dnetc.ini or /etc/dnetc.ini will be ignored, and default values used. According to the man page for dnetc, it should look for /etc/inetd.ini, so I assume this is a pasto. Reproducible: Always Steps to Reproduce: 1. emerge dnetc 2. create an /opt/distributed.net/dnetc.ini file 3. start dnetc with the /etc/init.d/dnetc script The options in /opt/distributed.net/dnetc are ignored, and looking at ps, you can see that it's called with "-ini /etc/conf.d/dnetc", which is wrong. Quick fix for /etc/init.d/dnetc: 23c23 < if [ -e /etc/conf.d/dnetc ] ; then --- > if [ -e /etc/dnetc.ini ] ; then 25c25 < DNETOPTS="${DNETOPTS} -ini /etc/conf.d/dnetc" --- > DNETOPTS="${DNETOPTS} -ini /etc/dnetc.ini"
OK, I've fixed this in the tree. Thanks for the bug report!