do not translate Oopses

This commit is contained in:
Peter Vrabec 2008-06-13 09:07:32 +00:00
parent aef4041ed2
commit fed3035a3b
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,21 @@
diff -up rsyslog-3.19.7/plugins/imklog/imklog.c.symlookup rsyslog-3.19.7/plugins/imklog/imklog.c
--- rsyslog-3.19.7/plugins/imklog/imklog.c.symlookup 2008-06-13 10:59:49.000000000 +0200
+++ rsyslog-3.19.7/plugins/imklog/imklog.c 2008-06-13 11:00:29.000000000 +0200
@@ -65,7 +65,7 @@ DEFobjCurrIf(glbl)
int dbgPrintSymbols = 0; /* this one is extern so the helpers can access it! */
int symbols_twice = 0;
int use_syscall = 0;
-int symbol_lookup = 1;
+int symbol_lookup = 0;
int bPermitNonKernel = 0; /* permit logging of messages not having LOG_KERN facility */
int iFacilIntMsg; /* the facility to use for internal messages (set by driver) */
/* TODO: configuration for the following directives must be implemented. It
@@ -245,7 +245,7 @@ static rsRetVal resetConfigVariables(uch
symbols_twice = 0;
use_syscall = 0;
symfile = NULL;
- symbol_lookup = 1;
+ symbol_lookup = 0;
bPermitNonKernel = 0;
iFacilIntMsg = klogFacilIntMsg();
return RS_RET_OK;

View File

@ -12,6 +12,7 @@ Source1: rsyslog.init
Source2: rsyslog.conf
Source3: rsyslog.sysconfig
Source4: rsyslog.log
Patch1: rsyslog-3.19.7-symlookup.patch
BuildRequires: zlib-devel
BuildRequires: autoconf automake
Requires: logrotate >= 3.5.2
@ -87,6 +88,7 @@ IETF standard protocol.
%prep
%setup -q
%patch1 -p1 -b .symLookup
%build
%configure --sbindir=%{sbindir} \
@ -191,6 +193,9 @@ fi
%{_libdir}/rsyslog/lmnsd_gtls.so
%changelog
* Fri Jun 13 2008 Peter Vrabec <pvrabec@redhat.com> 3.19.7-2
- do not translate Oopses (#450329)
* Fri Jun 13 2008 Peter Vrabec <pvrabec@redhat.com> 3.19.7-1
- upgrade