Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2018 01:06:20 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        freebsd-stable@FreeBSD.org
Subject:   Re: syslogd became silent between 11.2-PRERELEASE r334874 and r335282
Message-ID:  <20180618.010620.1946151016518038027.yasu@utahime.org>
In-Reply-To: <BDE2979C-728D-4B29-B105-03FFC9A31EF1@ellael.org>
References:  <BDE2979C-728D-4B29-B105-03FFC9A31EF1@ellael.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Michael Grimm <trashcan@ellael.org>
Subject: syslogd became silent between 11.2-PRERELEASE r334874 and r335282
Date: Sun, 17 Jun 2018 16:27:33 +0200

> I am running service jails (VNET/bridge/epair) and a host at 11.2-PRERELEASE r335282, upgraded from r334874 today.

There was a large MFC about syslogd at r335059:

https://svnweb.freebsd.org/base?view=revision&revision=335059

----------------------------------------------------------------------
MFC r309925, r309931, r309933, r310035, r310278, r310310, r310311,
    r310323, r310349, r310350, r310351, r310352, r310383, r310384,
    r310385, r310386, r310393, r310453, r310456, r310494, r310504,
    r310528, r310890, r310893, r310974, r311918, r312921, r313357,
    r314563, r314585, r314642, r315322, r315618, r315620, r315622,
    r315643, r316951, r316973, r326338, r326339, r326573, r331270,
    r332099, r332110, r332111, r332118, r332165, r332510 and r332511.

This commit brings syslogd(8) in sync with the copy in HEAD. The key
improvement of this change is that it adds support for RFC 5424 log
ingestion and exposition (enabled by passing in -O rfc5424). This allows
for saner logging in environments with multiple time zones.

The list of changes to merge back were obtained by running:

    svn mergeinfo --show-revs eligible \
        ^/head/usr.sbin/syslogd ^/stable/11/usr.sbin/syslogd

Of the commits listed, r314436, r325188 and r326025 were excluded, as
they affect a significant number of unrelated files (SPDX and 4-clause
license renumbering). Due to the large number of directly committed
changes on this branch, I had no choice but to perform the merge as
follows:

    svn merge --accept=theirs-full -c <list of revisions> ^/head .

This would, however, cause some unrelated changes, such as undoing the
r333356 (MFC of r332877) and still adding the SPDX tag to syslogd.c.
These have been reverted manually.

Requested by:	Dave Cottlehuber
Thanks to:	dim@ for sharing his insight on hackers@
----------------------------------------------------------------------

So how about take following steps?

1. svn update -r 335058 /usr/src
2. Rebuild and reinstall /usr/sbin/syslogd and /usr/bin/wall on both
   host and jail.
3. Restart syslogd on both host and jail.

And if the problem is dissapeared, then you should open bug report.

Best,

---
Yasuhiro KIMURA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180618.010620.1946151016518038027.yasu>