[Bug 712174] New: incorrect logging option in snmptrapd initiscript
https://bugzilla.novell.com/show_bug.cgi?id=712174 https://bugzilla.novell.com/show_bug.cgi?id=712174#c0 Summary: incorrect logging option in snmptrapd initiscript Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: richlv@nakts.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.9.168 Version/11.50 /usr/share/doc/packages/net-snmp/rc.snmptrapd uses the following to specify logging : -Lf ${SNMPD_LOGLEVEL:-d} /etc/sysconfig/net-snmp specifies default SNMPD_LOGLEVEL as "n". this results in snmptrapd logging in a file "/n" (it also creates a device file at /var/log/net-snmp.log). as per 'man snmpcmd', "-Lf FILE Log messages to the specified file." "There are also "upper case" versions of each of these options, which allow the corresponding logging mechanism to be restricted to certain priorities of message." thus the solution is to change "-Lf" in /usr/share/doc/packages/net-snmp/rc.snmptrapd to -LF /etc/init.d/snmpd is already using the correct version. same problem also with opensuse 11.3, if anybody wants to fix it there as well Reproducible: Always -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=712174
https://bugzilla.novell.com/show_bug.cgi?id=712174#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=712174
https://bugzilla.novell.com/show_bug.cgi?id=712174#c1
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=712174
https://bugzilla.novell.com/show_bug.cgi?id=712174#c
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=712174
https://bugzilla.novell.com/show_bug.cgi?id=712174#c
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=712174
https://bugzilla.novell.com/show_bug.cgi?id=712174#c2
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=712174
https://bugzilla.novell.com/show_bug.cgi?id=712174#c3
--- Comment #3 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com