Bot releases are hidden (Show)
Published by troglobit over 3 years ago
Bug fix release. The focus is still on tackling the fallout resulting in migrating from the old kernel log interface in /proc/kmsg
to /dev/kmsg
, introduced in v2.2.0.
syslog()
API in the C library is used, which may not necessarily set the timestamp. When sysklogd infers timestamp it was offset by the number of years since 1969, i.e., boot_time
/var/run/syslogd.cache
, which saves the last seen/logged sequence id read from /dev/kmsg
syslogd(8)
manual page name of the syslogd PID filePublished by troglobit over 3 years ago
Bug fix release.
tzset()
, on init/SIGHUPsyslogd.service
use /etc/default/syslogd
to disablePublished by troglobit over 3 years ago
Bug fix release.
EPIPE
when reading from /dev/kmsg
if the kernel internal buffers are overrun. EPIPE
is a heads-up message to/dev/kmsg
are formatted in a different way than its predecessor /proc/kmsg
. sysklogd v2.2.0 failed to parse the priority field correctly, which caused matching problems with rules in /etc/syslog.conf
/
to /usr/local
, which is the default for GNU configure based applications%m
gnuism from internal log macro (portability)Published by troglobit almost 4 years ago
Minor feature and bug fix release.
/dev/kmsg
instead of /proc/kmsg
on LinuxO_CLOEXEC
not available on all systemsPublished by troglobit over 4 years ago
Bug fix release.
-fPIC
. This should be the final parallel build issue.Published by troglobit almost 5 years ago
Bug fix release.
.NOTPARALLEL
in v2.1. This v2 fix is a refactor of src/Makefile.am
which removes libcompat
and use the same objects for linking both syslogd
and the user libsyslog
API. Yet still protecting against symbol poisoningsendmsg()
fails was the same as that if syslogd
fails to resolve the IP from a DNS name. The fix is to just let sendmsg()
retry on the next syslog message for all benign/common network errors; EHOSTUNREACHABLE
, ENETUNREACH
, etc.Published by troglobit almost 5 years ago
Relicensed under the 3-clause BSD license.
klogd
removed, replaced by native syslogd
functionalitysyslogd
and syslog.conf
man pages, both under the 3-clause BSD license.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 BSDsyslogd
on Linux now calls klogctl()
to disable kernel logging to consolesyslogd
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 noticedsyslogd
started without -F
snprintf()
rather than sprintf()
in log rotation#ifdef
for checking on Linux or notPublished by troglobit almost 5 years ago
domark()
timer, regardless of -m interval
setting, it is used for internal housekeeping, runs every 15 secdomark()
-d
is given on the command line-F
, as alias for -n
, to klogd for compat. with syslogd@FQDN
previous releases of syslogd gave up after 10 tries. In many industrial cases intermittent access to the DNS is very likely, so this release includes a fix to retry the IP address lookup forever. The interval for retries is configurablelogmsg()
function/dev/console
during reconfiguration, i.e. after initial startPublished by troglobit almost 5 years ago
assert()
in fprintlog_successive()
, caused by never being reset in fprintlog_first()
, found by @Westermo--runstatedir=PATH
, e.g. CRUX https://crux.nu/
Published by troglobit almost 5 years ago
Minor bug fix release.
-k
and -T
command line flags to getopt()
$runstatedir
Note: Initial upload (2019-11-25) was missing man/klogd.8
, see issue #4
Published by troglobit almost 5 years ago
This release represents a major refresh of the sysklogd project. The venerable syslogd gets an infusion of new blood from NetBSD and FreeBSD to fully support RFC3164 and RFC5424. Also included is a user library and a replacement for syslog.h
to enable new features in RFC5424.
Note: as of this release
klogd
is disabled by default,syslogd
can read Linux kernel messages on its own now.
;RFC3161
rule optionsyslogp()
to unlock these features on the UNIX socket. Still compatible with GLIBC/musl/uClibcsyslog.conf
rules. E.g. ;RFC5424
to enable sending/writing log messages with RFC3339 style timestamps, and moreinclude /etc/syslog.d/*.conf
in syslog.conf
logger
from the Finit project, BSD licensed. Supports all the features of RFC5424, so very useful for trying out the "new" standard-p SOCK
, for unit testing with logger -u /path/to/sock
@host:port
syslogp()
API from NetBSD, for applications wanting to use RFC5424 features like MsgID or structured datasyslogd
and klogd
for compatiblity with FreeBSD and NetBSD syslogd. Examples:
-b
and -c
have been replaced with -r
for global log rotation, -a
has been replaced with the new -p
support. The -r
flag and -s HOST
has also been dropped in favor of the BSD -s
flag to control two levels of secure mode. The -n
flag is now -F
and -n
means something else entirely ... there's more-i
and -I
have been removedklogd
is not built by default anymore, syslogd
can read /proc/kmsg
on Linux on its own. Reduces complexity and gives you one daemon lesssnprintf()
"TESTING
#ifdefsPublished by troglobit about 6 years ago
main()
into init()
so it is re-read on SIGHUP, by Thomas Jarosch [email protected]
SIGHUP
, for integration with Finitfclose()
, found by Andrea Morandi and Sean Young. Fixed by Martin Schulze [email protected]