Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 105354

Summary: snmptt-1.0-r1.ebuild (Revision bump)
Product: Gentoo Linux Reporter: Anatoly Shipitsin <norguhtar>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: 2004.3   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild
Ebuild and other need things

Description Anatoly Shipitsin 2005-09-09 03:04:11 UTC
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:
Comment 1 Anatoly Shipitsin 2005-09-09 03:04:45 UTC
Created attachment 67997 [details]
Ebuild
Comment 2 Anatoly Shipitsin 2005-09-09 03:06:00 UTC
Created attachment 67998 [details]
Ebuild and other need things
Comment 3 Marcelo Goes (RETIRED) gentoo-dev 2006-01-22 18:28:47 UTC
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)
Comment 4 Anatoly Shipitsin 2006-01-24 01:20:11 UTC
> 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.

Comment 5 Marcelo Goes (RETIRED) gentoo-dev 2006-02-18 10:42:09 UTC
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!
Comment 6 Anatoly Shipitsin 2006-02-19 21:28:25 UTC
Thanks. Good job ;)