infodrom/sysklogd
25 years ago * Reverted support for multiple Unix domain sockets since it caused debian-1.3-28
Joey Schulze [Thu, 15 Oct 1998 17:35:38 +0000 (17:35 +0000)]
  * Reverted support for multiple Unix domain sockets since it caused
    syslogd to not accept more sockets after a certain (undefinitve)
    time.  (opens: Bug#24893)
  * The complete code is still present, search for `Bug#24893'
  * Commented out `-a' in the syslogd.8 manpage

25 years agoAdded tklogd to clobber target. debian-1.3-27
Joey Schulze [Mon, 12 Oct 1998 20:25:15 +0000 (20:25 +0000)]
Added tklogd to clobber target.

25 years ago Mon Oct 12 20:49:18 MET DST 1998: Martin Schulze <joey@infodrom.north.de>
Joey Schulze [Mon, 12 Oct 1998 20:20:25 +0000 (20:20 +0000)]
  Mon Oct 12 20:49:18 MET DST 1998: Martin Schulze <joey@infodrom.north.de>
      Avoid logging of SIGCHLD when syslogd is in the process of
      exiting and closing its files.  Again thanks to Topi.

  Mon Oct 12 22:18:34 CEST 1998: Martin Schulze <joey@infodrom.north.de>
      Modified printline() to support 8bit characters - such as
      russion letters.  Thanks to Vladas Lapinskas <lapinskas@mail.iae.lt>.

25 years ago * Code cleanups with regard to bsd -> posix transition and stronger
Joey Schulze [Mon, 12 Oct 1998 18:24:48 +0000 (18:24 +0000)]
  * Code cleanups with regard to bsd -> posix transition and stronger
    security (buffer length checking).  Thanks to Topi Miettinen
    <tom@medialab.sonera.net> (closes: Bug#24894)
    . index() --> strchr()
    . sprintf() --> snprintf()
    . bcopy() --> memcpy()
    . bzero() --> memset()
    . UNAMESZ --> UT_NAMESIZE
    . sys_errlist --> strerror()
  * Added support for setutent()/getutent()/endutend() instead of binary
    reading the UTMP file.  This is the the most portable way.  Thanks to
    Topi Miettinen <tom@medialab.sonera.net>.

25 years agoAdded support for TESTING.
Joey Schulze [Mon, 12 Oct 1998 16:58:12 +0000 (16:58 +0000)]
Added support for TESTING.

25 years agoAdded support for tklogd and tsyslogd which are testing environments.
Joey Schulze [Mon, 12 Oct 1998 16:57:53 +0000 (16:57 +0000)]
Added support for tklogd and tsyslogd which are testing environments.

25 years agoChanged the define.
Joey Schulze [Mon, 12 Oct 1998 16:47:05 +0000 (16:47 +0000)]
Changed the define.

25 years agoAdded documentation for `-a' argument.
Joey Schulze [Mon, 12 Oct 1998 16:46:11 +0000 (16:46 +0000)]
Added documentation for `-a' argument.

25 years agoAdded URL.
Joey Schulze [Mon, 12 Oct 1998 16:43:28 +0000 (16:43 +0000)]
Added URL.

25 years agoAdded additional array boundary check.
Joey Schulze [Mon, 12 Oct 1998 16:40:20 +0000 (16:40 +0000)]
Added additional array boundary check.

25 years ago Mon Oct 12 00:42:30 CEST 1998: Martin Schulze <joey@infodrom.north.de>
Joey Schulze [Mon, 12 Oct 1998 16:39:49 +0000 (16:39 +0000)]
  Mon Oct 12 00:42:30 CEST 1998: Martin Schulze <joey@infodrom.north.de>
      Modified CheckVersion()
      . Use shift to decode the kernel version
      . Compare integers of kernel version
      . extract major.minor.patch from utsname.release via sscanf()
      The reason lays in possible use of kernel flavours which
      modify utsname.release but no the Version_ symbol.

25 years ago Sat Oct 10 20:01:48 CEST 1998: Martin Schulze <joey@infodrom.north.de>
Joey Schulze [Mon, 12 Oct 1998 16:38:30 +0000 (16:38 +0000)]
  Sat Oct 10 20:01:48 CEST 1998: Martin Schulze <joey@infodrom.north.de>
      Added support for TESTING define which will turn klogd into
      stdio-mode used for debugging.

  Mon Oct 12 13:01:27 MET DST 1998: Martin Schulze <joey@infodrom.north.de>
      Used unsigned long and strtoul() to resolve kernel oops symbols.

25 years ago Mon Oct 12 13:30:35 CEST 1998: Martin Schulze <joey@infodrom.north.de>
Joey Schulze [Mon, 12 Oct 1998 16:36:18 +0000 (16:36 +0000)]
  Mon Oct 12 13:30:35 CEST 1998: Martin Schulze <joey@infodrom.north.de>
      Redirected some error output with regard to argument parsing to
      stderr.

  Mon Oct 12 14:02:51 CEST 1998: Martin Schulze <joey@infodrom.north.de>
      Applied patch provided vom Topi Miettinen with regard to the
      people from OpenBSD.  This provides the additional '-a'
      argument used for specifying additional UNIX domain sockets to
      listen to.  This is been used with chroot()'ed named's for
      example.

  Mon Oct 12 18:29:44 CEST 1998: Martin Schulze <joey@infodrom.north.de>
      Added `ftp' facility which was introduced in glibc version 2.
      It's #ifdef'ed so won't harm with older libraries.

25 years ago . Added support for TESTING define which will turn syslogd into
Joey Schulze [Mon, 12 Oct 1998 11:35:02 +0000 (11:35 +0000)]
 . Added support for TESTING define which will turn syslogd into
   stdio-mode used for debugging.

 . Reworked the initialization/fork code.  Now the parent process
   activates a signal handler which the daughter process will raise if
   it is initialized.  Only after that one the parent process may
   exit.  Otherwise klogd might try to flush its log cache while
   syslogd can't receive the messages yet.

25 years ago * The code now is compilable without SYSLOG_INET again. Thanks to
Joey Schulze [Fri, 10 Jul 1998 23:56:53 +0000 (23:56 +0000)]
 * The code now is compilable without SYSLOG_INET again.  Thanks to
   Enrik Berkhan <enrik@rzstud1.akk.org>.

25 years ago * Postinst will create files with correct file modes (closes: Bug#21212)
Joey Schulze [Fri, 12 Jun 1998 23:43:39 +0000 (23:43 +0000)]
  * Postinst will create files with correct file modes (closes: Bug#21212)
  * Made /dev/xconsole mode 0640 and root.adm (closes: Bug#11917)
  * Changed priority of exit message from LOG_ERR to LOG_INFO (closes
    Bug#21606)

26 years agoCorrected Mark's email address. debian-1.3-26
Joey Schulze [Mon, 13 Apr 1998 23:46:21 +0000 (23:46 +0000)]
Corrected Mark's email address.

26 years ago * Fixed typos in syslogd-listfiles(1), thanks to Francesco Potorti`
Joey Schulze [Mon, 13 Apr 1998 23:27:37 +0000 (23:27 +0000)]
  * Fixed typos in syslogd-listfiles(1), thanks to Francesco Potorti`
    <F.Potorti@cnuce.cnr.it> (closes: Bug#20903)
  * Corrected email address for Shane Alderton (closes: Bug#20765)
  * Fixed manpage to not reflect reverse implementated SIGALRM signal
    handler (closes: Bug#20647)
  * Modified behaviour with including <sys/module.h> (closes: Bug#20556)
  * Added correct prototype for llseek() (closes: Bug#20507, Bug#20220)
  * Added more log information if problems occurr while reading a system
    map file.
  * Modified System.map read function to try all possible map files until
    a file with matching version is found.
  * Added Debian release to klogd
  * Switched to fgets() as gets() is not buffer overrun secure.
  * Modified loop for detecting the correct system map.

26 years ago * Applied patch from Pedro Manuel Rodrigues <pmanuel@cindy.fe.up.pt> to debian-1.3-25 debian-1.3.25-1
Joey Schulze [Thu, 19 Mar 1998 22:56:43 +0000 (22:56 +0000)]
  * Applied patch from Pedro Manuel Rodrigues <pmanuel@cindy.fe.up.pt> to
    let klogd work togther with >2GB address space.

26 years ago * Corrected Topi's patch as it prevented forwarding during startup due debian-1.3-24
Joey Schulze [Wed, 25 Feb 1998 12:20:58 +0000 (12:20 +0000)]
  * Corrected Topi's patch as it prevented forwarding during startup due
    to an unknown LogPort.
  * Finalized it

26 years ago Fixed little comparison mistake that prevented the MARK
Joey Schulze [Wed, 25 Feb 1998 09:53:47 +0000 (09:53 +0000)]
 Fixed little comparison mistake that prevented the MARK
 feature to work properly.

26 years ago * Applied patch from Topi Miettinen <Topi.Miettinen@ml.tele.fi> to open debian-1.3-23
Joey Schulze [Mon, 23 Feb 1998 23:41:00 +0000 (23:41 +0000)]
  * Applied patch from Topi Miettinen <Topi.Miettinen@ml.tele.fi> to open
    the UDP socket only if it is really needed.
  * Updated sysklogd(8) manpage
  * Added note to mailing list

26 years agoCorrected FSFs address (lintian)
Joey Schulze [Tue, 10 Feb 1998 22:37:14 +0000 (22:37 +0000)]
Corrected FSFs address (lintian)

26 years ago * Removed killall-statement from postinst. Thanks to James Troup for debian-1.3.22-1
Joey Schulze [Thu, 29 Jan 1998 20:40:48 +0000 (20:40 +0000)]
  * Removed killall-statement from postinst.  Thanks to James Troup for
    reporting it.
  * Added chdir("/") to both daemons (fixes: Bug#17601)

26 years ago * Another patch for Linux/alpha by Christopher C Chimelis debian-1.3-22
Joey Schulze [Sun, 25 Jan 1998 21:06:08 +0000 (21:06 +0000)]
  * Another patch for Linux/alpha by Christopher C Chimelis
    <chris@classnet.med.miami.edu> (fixes: Bug#17385)

26 years ago As the bug covering the %'s introduced a problem with
Joey Schulze [Sun, 25 Jan 1998 20:52:12 +0000 (20:52 +0000)]
  As the bug covering the %'s introduced a problem with
  unevaluated priorities I've worked out a real fix that strips
  %'s to an even number which is harmless for printf.

26 years ago * Fixed small typo in syslogd-listfiles debian-1.3-20 debian-1.3-21
Joey Schulze [Tue, 13 Jan 1998 01:30:28 +0000 (01:30 +0000)]
  * Fixed small typo in syslogd-listfiles
  * Corrected debug output concerning remote receiption
  * Removed race condition in syslogd-listfiles
  * Modified logfile detection routine to take care of double listed
    logfiles.  Thanks to Roman Hodek <roman@debian.org> for providing an
    appropriate patch.  (Bug#17000)

26 years ago * Corrected some code that caused klogd to dump core when receiving some
Joey Schulze [Sat, 10 Jan 1998 18:02:57 +0000 (18:02 +0000)]
  * Corrected some code that caused klogd to dump core when receiving some
    special messages from 2.1.78.  Thanks to Chu-yeon Park
    <kokids@doit.ajou.ac.kr> for informing me.
  * Fixed bug that caused klogd to die if there is no System.map
    available.
  * Added -x switch to omit EIP translation and System.map evaluation.
    Thanks to Florian La Roche <florian@knorke.saar.de>.
  * Fixed small bugs in F_FORW_UNKN meachanism.  Thanks to Torsten Neumann
    <torsten@londo.rhein-main.de> for pointing me to it.
  * Fixed problem with klogd not being able to be built on a kernel newer
    than 2.1.18.  Worked in a patch from Alessandro Suardi <asuardi@uninetcom.it>

26 years ago * Corrected Standards-Version to 2.3.0.1 (Bug#16769) debian-1.3-19
Joey Schulze [Fri, 9 Jan 1998 00:03:55 +0000 (00:03 +0000)]
  * Corrected Standards-Version to 2.3.0.1 (Bug#16769)
  * Reworked one line of an older patch because it prevented syslogd from
    binding the socket with the result that no messages were forwarded to
    other hosts.
  * Changed the behaviour of klogd when receiving a terminate signal. Now
    the program terminates immediately instead of completing the receipt of
    a kernel message.  (Bug#16796, Bug#16828, Bug#16148)
  * Noticed a bug which was closed by 1.3-18 (Bug#14776)
  * Changed Maintainer address to joey@debian.org

26 years ago * Added test in postinst if user and group exist. Christoph Lameter run debian-1.3-18
Joey Schulze [Fri, 2 Jan 1998 03:07:16 +0000 (03:07 +0000)]
  * Added test in postinst if user and group exist.  Christoph Lameter run
    into trouble upgrading a RedHat system.
  * Fixed little mistake which prevented klogd from accepting a console
    log level of 8 to get <7> alias KERN_DEBUG displayed.
  * Linked against libc6 (Bug#11731)
  * Added SHELL=/bin/bash to rules as Herbert Xu suggested
  * Corrected syslog.conf(5) manpage
  * syslogd resets the ignore priority flag now.  Thanks to Herbert
    Thielen. (Bug#12009)
  * Fixed bug that caused syslogd to write into wrong files under some
    race conditions.  Thanks to Herbet Xu. (Bug#13506)
  * /var/log/auth.log will only be touch if needed (Bug#14329)
  * debian/conffiles is treated like a document (Bug#14521)
  * Added script for generic logfile detection and rotation and included
    that in cron scripts, included also its manpage (Bug#14610)
  * Modified restart messages in /etc/init.d/sysklogd (Bug#15840)
  * klogd will first try to load /boot/System.map-$ver, then
    /boot/System.map, then /System.map-$ver and after that /System.map
  * Modified ExpandKadds() because there were some problems accessing
    memory r/w.  (Bug#15336)

26 years ago * Fixed little mistake which prevented klogd from accepting a console
Joey Schulze [Thu, 21 Aug 1997 10:14:52 +0000 (10:14 +0000)]
  * Fixed little mistake which prevented klogd from accepting a console
    log level of 8 to get <7> alias KERN_DEBUG displayed.

26 years agoMinor fixes. debian-1.3-17
Joey Schulze [Wed, 25 Jun 1997 13:23:45 +0000 (13:23 +0000)]
Minor fixes.

26 years agoFixed stupid bug which caused klogd to eat up 90% cpu time.
Joey Schulze [Wed, 25 Jun 1997 10:01:10 +0000 (10:01 +0000)]
Fixed stupid bug which caused klogd to eat up 90% cpu time.

26 years agoSome more glibc patches made by Michael Alan Dorman <mdorman@debian.org>. release-1.3-16
Joey Schulze [Sun, 15 Jun 1997 17:14:04 +0000 (17:14 +0000)]
Some more glibc patches made by Michael Alan Dorman <mdorman@debian.org>.

26 years agoAdded patch from Leland Olds which fixes a buffer overrun and improved
Joey Schulze [Fri, 13 Jun 1997 09:35:55 +0000 (09:35 +0000)]
Added patch from Leland Olds which fixes a buffer overrun and improved
symbol lookup.

26 years agoIncluded upstream patches for 1.3.1 to 1.3.3 and modified debian/rules
Joey Schulze [Fri, 13 Jun 1997 07:42:20 +0000 (07:42 +0000)]
Included upstream patches for 1.3.1 to 1.3.3 and modified debian/rules
to support better debugging by including a patch to the modules package.

26 years agoIncluded improvements and bugfixes
Joey Schulze [Tue, 10 Jun 1997 21:06:52 +0000 (21:06 +0000)]
Included improvements and bugfixes

26 years agoUpgrading to version 1.3-15 from the archive release-1.3-15
Joey Schulze [Mon, 2 Jun 1997 17:42:34 +0000 (17:42 +0000)]
Upgrading to version 1.3-15 from the archive

26 years agoImport of bare source for 1.3 release-1.3 release-1.3-0
Joey Schulze [Mon, 2 Jun 1997 17:21:41 +0000 (17:21 +0000)]
Import of bare source for 1.3