Your message dated Thu, 19 May 2011 20:26:04 +0200
with message-id <[email protected]>
and subject line close old and already fixed bugs in syslog-ng
has caused the Debian Bug report #611998,
regarding syslog-ng: HOST macro off by one
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
611998: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611998
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: syslog-ng
Version: 3.1.3-2
Severity: normal


Whilst overhauling our syslog infrastructure, I noticed garbage was appearing 
in our logs.  I use the following template when writing to files:

template("$ISODATE $FULLHOST <$FACILITY.$PRIORITY> $MSGHDR$MSGONLY\n")

It turns out[1] that normalize_hostnames() has an off-by-one problem and a 
patch was produced[2] soon after 3.1.3 was released.  The bug means 
$HOST/$FULLHOST do not include a NULL terminator at the end of the string, so 
garbage appears.

Any chance of including the fix?

Cheers

[1] http://marc.info/?l=syslog-ng&m=129044796131859&w=2
[2] 
http://git.balabit.hu/?p=bazsi/syslog-ng-3.1.git;a=commitdiff;h=f6efe1a82c3726c7f65ca0dd173af8d3f58824aa;hp=3361f72c6c35d198e174200780d9744604e2cdf6

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.32-5-kirkwood
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages syslog-ng depends on:
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libcap2                 1:2.19-3         support for getting/setting POSIX.
ii  libdbi0                 0.8.2-3          Database Independent Abstraction L
ii  libevtlog0              0.2.8~1-2        Syslog event logger library
ii  libgcc1                 1:4.4.5-8        GCC support library
ii  libglib2.0-0            2.24.2-1         The GLib library of C routines
ii  libnet1                 1.1.4-2          library for the construction and h
ii  libpcre3                8.02-1.1         Perl 5 Compatible Regular Expressi
ii  libssl0.9.8             0.9.8o-4         SSL shared libraries
ii  libwrap0                7.6.q-19         Wietse Venema's TCP wrappers libra
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages syslog-ng recommends:
ii  logrotate                     3.7.8-6    Log rotation utility

Versions of packages syslog-ng suggests:
pn  libdbd-mysql                  <none>     (no description available)
pn  libdbd-pgsql                  <none>     (no description available)
pn  libdbd-sqlite3                <none>     (no description available)

-- Configuration Files:
/etc/syslog-ng/syslog-ng.conf changed [not included]

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi,

#428424 was an Etch upgrade problem, might be fixed in the background,
  doesn't happen with recent stable (Squeeze) version.
#429273 pid file is created correctly, user reported that bootclean
  deleted it.
#533075 now syslog-ng is buildable many times in a row.
#550582 old, 2.0.9-4.2 NMU is accepted.
#611998 current version in Sid contains the HOST macro fix and
#612373 is also fixed with CAP_SYS_ADMIN usage with 2.6.38+ kernels.

Laszlo/GCS



--- End Message ---

Reply via email to