Package: ulogd
Version: 1.23-8
Severity: important
Tags: patch

ulogd appears to not be compiled with largefile support. This causes a
problem, particularly with at least one plugin - ulogd-pcap - that
attempts to write large files (>~2G). I have included a small patch to 
Rules.Make.in to enable 64bit file support via -D_FILE_OFFSET_BITS=64.
I have been running with the patch applied for some time, 
and do not believe this should cause any problems for others.

Thanks
diff -ur /tmp/ulogd-1.23/Rules.make.in ulogd-1.23/Rules.make.in
--- /tmp/ulogd-1.23/Rules.make.in       2005-02-20 08:32:40.000000000 +1100
+++ ulogd-1.23/Rules.make.in    2008-03-17 12:24:41.000000000 +1100
@@ -19,7 +19,7 @@
 [EMAIL PROTECTED]@
 
 [EMAIL PROTECTED]@ @CPPFLAGS@ -Wall
-CFLAGS+=-DULOGD_CONFIGFILE=\"$(ULOGD_CONFIGFILE)\"
+CFLAGS+=-DULOGD_CONFIGFILE=\"$(ULOGD_CONFIGFILE)\" -D_FILE_OFFSET_BITS=64
 # doesn't work for subdirs
 #CFLAGS+=$(INCIPULOG) $(INCCONFFILE)
 CFLAGS+=-I/lib/modules/`uname -r`/build/include

Attachment: signature.asc
Description: Digital signature

Reply via email to