do not translate Oopses
This commit is contained in:
parent
aef4041ed2
commit
fed3035a3b
21
rsyslog-3.19.7-symlookup.patch
Normal file
21
rsyslog-3.19.7-symlookup.patch
Normal 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;
|
@ -12,6 +12,7 @@ Source1: rsyslog.init
|
|||||||
Source2: rsyslog.conf
|
Source2: rsyslog.conf
|
||||||
Source3: rsyslog.sysconfig
|
Source3: rsyslog.sysconfig
|
||||||
Source4: rsyslog.log
|
Source4: rsyslog.log
|
||||||
|
Patch1: rsyslog-3.19.7-symlookup.patch
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: autoconf automake
|
BuildRequires: autoconf automake
|
||||||
Requires: logrotate >= 3.5.2
|
Requires: logrotate >= 3.5.2
|
||||||
@ -87,6 +88,7 @@ IETF standard protocol.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1 -b .symLookup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --sbindir=%{sbindir} \
|
%configure --sbindir=%{sbindir} \
|
||||||
@ -191,6 +193,9 @@ fi
|
|||||||
%{_libdir}/rsyslog/lmnsd_gtls.so
|
%{_libdir}/rsyslog/lmnsd_gtls.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jun 13 2008 Peter Vrabec <pvrabec@redhat.com> 3.19.7-1
|
||||||
- upgrade
|
- upgrade
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user