[Bug 241611] New: incorrect snmptrapd initscript
https://bugzilla.novell.com/show_bug.cgi?id=241611
Summary: incorrect snmptrapd initscript
Product: SUSE Linux 10.1
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: rich@hq.vsaa.lv
QAContact: qa@suse.de
actually, a sles 10 problem.
snmptrapd init script, located in /usr/share/doc/packages/net-snmp, has
slightly incorrect snmptrapd start command :
startproc $SNMPTRAPD -c /etc/snmptrapd.conf -Lf /var/log/net-snmpd.log
there are two problems with this :
1. config file actually resides in /etc/snmp/
2. if the config file path is correct, this leads to another problem - the file
is read twice, because snmptrapd by default reads the configuration file and it
can read several files (and it can read the same file twice).
this leads to, for example, scripts being executed twice and so on.
there are two simple solutions (unless snmptrapd behaviour is modified) :
a) add -C switch;
b) remove "-c /etc/snmptrapd.conf"
note that file header says :
# Copyright (c) 1996-2002 SuSE GmbH Nuernberg, Germany. All rights reserved.
#
# Author: Christopher Mahmood
https://bugzilla.novell.com/show_bug.cgi?id=241611 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mrueckert@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241611 mrueckert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kcoombs@novell.com ------- Comment #3 from mrueckert@novell.com 2007-02-22 11:08 MST ------- *** Bug 209457 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241611#c5
Marcus Rückert
https://bugzilla.novell.com/show_bug.cgi?id=241611
User frank_migge@manulife.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=241611#c6
Frank Migge
https://bugzilla.novell.com/show_bug.cgi?id=241611
User rich@hq.vsaa.lv added comment
https://bugzilla.novell.com/show_bug.cgi?id=241611#c7
--- Comment #7 from Rihards Olups
https://bugzilla.novell.com/show_bug.cgi?id=241611
User mrueckert@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=241611#c8
--- Comment #8 from Marcus Rückert
https://bugzilla.novell.com/show_bug.cgi?id=241611
User rich@hq.vsaa.lv added comment
https://bugzilla.novell.com/show_bug.cgi?id=241611#c9
--- Comment #9 from Rihards Olups
participants (1)
-
bugzilla_noreply@novell.com