Skip to content

sysklogd v2.1

Compare
Choose a tag to compare
@troglobit troglobit released this 05 Jan 12:37
· 303 commits to master since this release

Relicensed under the 3-clause BSD license.

Changes

  • klogd removed, replaced by native syslogd functionality
  • Import pristine FreeBSD versions of syslogd and syslog.conf man pages, both under the 3-clause BSD license.
  • With klogd removed and the original man pages replaced with FreeBSD versions, the only remaining GPL'ed material was the build system, which the copyright owner (undersigned) agrees to change to BSD as well. Hence, the GNU GPL could be dropped in favor of 3-clause BSD

Fixes

  • Issue #8: Kernel messages duplicated to console. syslogd on Linux now calls klogctl() to disable kernel logging to console
  • Earlier versions were slightly sensitive to time skips. I.e., when recording the last-change time on a log file and wall time changed backwards, syslogd would consider that log file to have a date in the future. This only affected buffering of multiple messages, and -- MARK -- so most users never would have noticed
  • Issue #9: Kernel logging broken if syslogd started without -F
  • Issue #10: Fix build on non-GLIBC Linux systems, by Khem Raj
  • Issue #11: Fix nasty parallel build problem. Also reported by the Gentoo project, and Westermo
  • Make sure log rotation cannot be enabled for non-file targets
  • Use snprintf() rather than sprintf() in log rotation
  • Fix variable names shadowing global/local defs, found by clang-tidy
  • Handle multiple invocations of SIGHUP, respond to all of them
  • Use correct #ifdef for checking on Linux or not