snmptt-1.0.ebuild not supported snmptt in daemon mode and content not correct config file. snmptt.ini contains "mode=standalone" and "daemon_fork = 1". snmptt going daemon mode. This ebuild fix this bugs. Reproducible: Always Steps to Reproduce:
Created attachment 67997 [details] Ebuild
Created attachment 67998 [details] Ebuild and other need things
Hello, Thanks for reporting. In the future, please don't attach tarballs, it makes our job harder... http://dev.gentoo.org/~ciaranm/docs/mw-faq/attachments.txt I have a few questions: 1) Why are you creating a snmptt user/group? It doesn't seem to be necessary. 2) Why do you have a conf.d file? The pid can go straight in init.d, it's not a variable most users will want to configure. 3) Are you sure about forcing daemon_fork = 0? It could cause problems during startup (for gensplash users, for example)
> http://dev.gentoo.org/~ciaranm/docs/mw-faq/attachments.txt Thanks i'm know about this. But at 09-2005 i'm don't know ;) > 1) Why are you creating a snmptt user/group? It doesn't seem to be necessary. snmp-tt in daemon mode can switch to unpriv user. > 2) Why do you have a conf.d file? The pid can go straight in init.d, it's not a variable most users will want to configure. Fix this. > 3) Are you sure about forcing daemon_fork = 0? It could cause problems during > startup (for gensplash users, for example) Hmmm? I'm don't understand. I'm switch snmptt in daemon mode.
I just bumped snmptt to 1.1. - I added a sed line to set mode=daemon - I added your init script I'm not too fond of the other modifications and would rather keep things as they are. Thanks for your time!
Thanks. Good job ;)