From fed3035a3b559e8b1845f40186441e823b217c2c Mon Sep 17 00:00:00 2001 From: Peter Vrabec Date: Jun 13 2008 09:07:32 +0000 Subject: do not translate Oopses --- diff --git a/rsyslog-3.19.7-symlookup.patch b/rsyslog-3.19.7-symlookup.patch new file mode 100644 index 0000000..3caba63 --- /dev/null +++ b/rsyslog-3.19.7-symlookup.patch @@ -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; diff --git a/rsyslog.spec b/rsyslog.spec index df29859..1beeeeb 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -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 3.19.7-2 +- do not translate Oopses (#450329) + * Fri Jun 13 2008 Peter Vrabec 3.19.7-1 - upgrade