Devuan bug report logs - #720
New rsyslog logs '[localhost]' instead of the real hostname

Package: rsyslog; Reported by: Klaus Ethgen <[email protected]>; Keywords: upstream; Done: [email protected]; Maintainer for rsyslog is Devuan Developers <[email protected]>.

Message received at [email protected]:


Received: (at 720-done) by bugs.devuan.org; 28 Oct 2022 07:24:09 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Fri, 28 Oct 2022 07:24:08 +0000 (UTC)
Received: from mail.devuan.dev (mail.devuan.dev [54.36.142.182])
	by mx1.dyne.org (Postfix) with ESMTP id C099A74E4BF
	for <[email protected]>; Fri, 28 Oct 2022 09:24:04 +0200 (CEST)
Received: from dak.localnet.devuan.org (dak.localnet.devuan.org [192.168.97.90])
	by mail.devuan.dev (Postfix) with SMTP id 0BAE64068E7
	for <[email protected]>; Fri, 28 Oct 2022 07:24:07 +0000 (UTC)
Received: (nullmailer pid 22145 invoked by uid 107);
	Fri, 28 Oct 2022 07:24:06 -0000
From: [email protected]
To: [email protected]
Subject: #720: fixed in src:rsyslog version 8.2210.0-2devuan1
MIME-Version: 1.0
Content-Type: text/plain; charset="ANSI_X3.4-1968"
Content-Transfer-Encoding: 8bit
Date: Fri, 28 Oct 2022 07:24:06 +0000
Message-Id: <[email protected]>
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled
	version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mail.dyne.org


Version: 8.2210.0-2devuan1

Source package rsyslog (8.2210.0-2devuan1) added to Devuan suite unstable.

This closes bug report 720.

Thanks

DAK managing the Devuan archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 28 Oct 2022 07:04:41 +0100
Source: rsyslog
Architecture: source
Version: 8.2210.0-2devuan1
Distribution: unstable
Urgency: medium
Maintainer: Devuan Developers <[email protected]>
Changed-By: Mark Hindley <[email protected]>
Closes: 720
Changes:
 rsyslog (8.2210.0-2devuan1) unstable; urgency=medium
 .
   * Merge tag debian/8.2210.0-2 (Closes: #720).
Checksums-Sha1:
 741a24daa296d9b1c0b8974b39f308af16775df4 2967 rsyslog_8.2210.0-2devuan1.dsc
 dc082cc35f6cda035d0632e4a2a4959c1415e73a 30992 rsyslog_8.2210.0-2devuan1.debian.tar.xz
 2ed48a76eeb3635701b1112156fb3d19a0598cc8 7222 rsyslog_8.2210.0-2devuan1_source.buildinfo
Checksums-Sha256:
 4b04d71a34298bf7d6b552e4ffec215f824822ebfb88f69a85a092c57f4a5094 2967 rsyslog_8.2210.0-2devuan1.dsc
 3ec27d5384329f23e1bd6273548bc0aed3d381c5786bd0c8558192f3f6f3cc7b 30992 rsyslog_8.2210.0-2devuan1.debian.tar.xz
 448df01b26b3caefbf971476c4bab836c205088f70ce28d3bf3a7bc538b931e7 7222 rsyslog_8.2210.0-2devuan1_source.buildinfo
Files:
 97526782a79f9014f74d5c7935d73beb 2967 admin optional rsyslog_8.2210.0-2devuan1.dsc
 4d4680b8546acec440ce65d87f85625f 30992 admin optional rsyslog_8.2210.0-2devuan1.debian.tar.xz
 f15f260222fb9171d714ceb07b370f66 7222 admin optional rsyslog_8.2210.0-2devuan1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmNbfBgACgkQlFMhJFQZ
IvtJ/gf/Q5IwQazBTg3v2VF1kcdJQ/ZUruD7Uk3R2sCDdvxyJ7m8LBewvlscp+z6
aKXTMWD8NsI1aL/pEKe9EA6L9sOteHdZvpK52cwqeCK01iktke9cOilj8zGF9V2U
m90a5UakgtWLPalh52AO9URek6HmgB8cZf7bMGdQcmNnv8cwD6hF9fcBU56z1KXJ
oMc8QzzYv7fU5GT9Ztz+FPdZWUquHsVNXR9hB1xUM3ZDnugsy0vuotYcVpD46qCE
9qMbPvU+dIRJGQtMHrfDz8DInW3h2V4O3Vdf64CuccodvrEkuE4GVRJv6xBrJu3f
A5Y0PhJgrAOwQz3zesa9uhqTUtY6uw==
=T8iq
-----END PGP SIGNATURE-----

Notification sent to Klaus Ethgen <[email protected]>:
bug acknowledged by developer. Full text available.
Reply sent to [email protected]:
You have taken responsibility. Full text available.
Set bug forwarded-to-address to 'https://github.com/rsyslog/rsyslog/issues/4975'. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.
Added tag(s) upstream. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 720) by bugs.devuan.org; 20 Oct 2022 13:10:35 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 20 Oct 2022 13:10:35 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mx1.dyne.org (Postfix) with ESMTPS id 8A121740027
	for <[email protected]>; Thu, 20 Oct 2022 15:09:32 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1olVIi-0004dW-4J; Thu, 20 Oct 2022 14:09:32 +0100
Received: (nullmailer pid 24914 invoked by uid 1000);
	Thu, 20 Oct 2022 13:09:32 -0000
Date: Thu, 20 Oct 2022 14:09:31 +0100
From: Mark Hindley <[email protected]>
To: Klaus Ethgen <[email protected]>
Cc: [email protected]
Subject: Re: bug#720: New rsyslog logs '[localhost]' instead of the real
 hostname
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Spam-Status: No, score=1.4 required=5.0 tests=KHOP_HELO_FCRDNS,RDNS_DYNAMIC
	autolearn=disabled version=3.4.6
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mail.dyne.org

Control: tags -1 upstream
Control: forwarded -1 https://github.com/rsyslog/rsyslog/issues/4975

On Thu, Oct 20, 2022 at 01:23:16PM +0100, Klaus Ethgen wrote:
> Here is the link: [0] https://github.com/rsyslog/rsyslog/issues/4975

Many thanks.

Mark

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to Devuan Developers <[email protected]>. Full text available.
Information forwarded to [email protected], Devuan Developers <[email protected]>:
bug#720; Package rsyslog. Full text available.

Message received at [email protected]:


Received: (at 720) by bugs.devuan.org; 20 Oct 2022 12:24:09 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 20 Oct 2022 12:24:09 +0000 (UTC)
Received: from tschil.ethgen.ch (tschil.ethgen.ch [5.9.7.51])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by mx1.dyne.org (Postfix) with ESMTPS id 16AC1740027
	for <[email protected]>; Thu, 20 Oct 2022 14:23:16 +0200 (CEST)
Authentication-Results: mx1.dyne.org;
	dkim=pass (4096-bit key; unprotected) header.d=ethgen.de [email protected] header.a=rsa-sha256 header.s=mail header.b=cjxf5zLn;
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ethgen.de;
	 s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:
	Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID:
	Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
	:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
	List-Post:List-Owner:List-Archive;
	bh=TjfGH7GcwxuBImHnVih2AAnBC+Utis9OGpouQnJ76lw=; b=cjxf5zLnj+kuU5IxUjpnYkm5ra
	uglo8oCpIzbOSVX38ht4ttj8Rg7mtscHf7XJ+ixOKcb+G75b6emxOmCmsHN54Bm/fIw+fKnmbAbBD
	AASCjA+k7+tfCQ2fucg3tx8wVpyyy647nlSpICse6gabJS2l/H/MFUNGNtOqOzJnjECB6dRgxdOH4
	QkwV9X5oPV4GNXjiAxgUtY1FswIf2ltzAVFvD5SzBd8p7q24UwSoA89wjclzJFsAxgXisDIdK2XAL
	fb3ALHocNDhcGyKtt0GNHat8a/SmrMRDokArrICNak/u2sEYChiU2xuagrwND3wzX9ow4C8QaM3LS
	gEOwrZWjI0vPILnLLq4rmJMU6wQdi6C+6+5R4oKoksI0cDxd6EEC3/XNjLrajhV6F/ZCJlwlLUahd
	zA8xKp0wDjiHpBxagF6veDBdsGB5f96U3hKunaJmHyK9FbGtXElVLUvC+RZRWiqtM4zVKJ31/BXqp
	ZaSUcDa2CmyKD70nAZJvxDZAPl0mkzi2qpZrsffXDOaDtDjrJ9h4VJmVBkZ/w7c8YXx5VXENeuxG+
	QcRcuuXdrzRCUsiHtinDmD02Igd2GaQsmy+O5oskKet33LyQ+M6NcrNM+S8WkqbvG+4U1ixOdX03I
	mZBuPIXSZ2JW4+yv0fKoIPmRNnTw0NDP94T8djc1k=;
Received: from [192.168.17.4] (helo=ikki.ket)
	by tschil.ethgen.ch with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1olUZw-0008KV-UD; Thu, 20 Oct 2022 12:23:17 +0000
Received: from klaus by ikki.ket with local (Exim 4.96)
	(envelope-from <[email protected]>)
	id 1olUZw-0003jN-2O;
	Thu, 20 Oct 2022 14:23:16 +0200
Date: Thu, 20 Oct 2022 13:23:16 +0100
From: Klaus Ethgen <[email protected]>
To: Mark Hindley <[email protected]>
Cc: [email protected]
Subject: Re: bug#720: New rsyslog logs '[localhost]' instead of the real
 hostname
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="B8Hm/Zy7O9oo4KA4"
Content-Disposition: inline
In-Reply-To: <[email protected]>
OpenPGP: id=79D0B06F4E20AF1C;
 url=http://www.ethgen.ch/~klaus/79D0B06F4E20AF1C.txt; preference=signencrypt
X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED autolearn=disabled
	version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mail.dyne.org


--B8Hm/Zy7O9oo4KA4
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Here is the link: [0] https://github.com/rsyslog/rsyslog/issues/4975
Gru=DF
   Klaus
--=20
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <[email protected]>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C

--B8Hm/Zy7O9oo4KA4
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAABCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAmNRPbQACgkQpnwKsYAZ
9qwSbAv+PMYfOlNdGZ4qa4vhygXAY2ZZ/xIPSdS8BuWmkA+jMGcF3U36pQ8+yTtN
7w24epQhfWKtDR2j6PGnHZ3i7smpCrjbvqJqJ61iz3JSj47J/EYdtJ2sBLOF/Hst
EBBlN1Lm84w3OIDBHpF6QVPHJgOwi8WhjVItvekj0nxvAJlIteuc+vrbBugmFjqq
PivThk+vp1S7d6dpxJf5ejj2sYdOKE3eDdezzVfj9ptOaZ2PfHCxqZ0Gj7mLMLoh
lIHaLXPNFTavdBGOPY/EpPTRdqEIxxU+ZVkVsto4WYCCRELjlAAShY5izvjh2Zs+
Y9bEr3ThUalhafQsKxH0MwID7rGk9lblHpD5kjQ1cXJhJBGK151h77FjJ7qjpvN+
eLtIuFdvoaPrzkJdIZdblzp+F9SYo8yD0eqBmq23ORbLpxa7fUsd9Mb1uMwnDI5I
GkAp3D5+AgXafxmXZIoaBfmEx8XWaAvv6tJEmJ1kB/8tTVJ/cHTDs3Lbqp0CQiYb
EnCAl/Kz
=zebC
-----END PGP SIGNATURE-----

--B8Hm/Zy7O9oo4KA4--

Acknowledgement sent to Klaus Ethgen <[email protected]>:
Extra info received and forwarded to list. Copy sent to Devuan Developers <[email protected]>. Full text available.
Information forwarded to [email protected], Devuan Developers <[email protected]>:
bug#720; Package rsyslog. Full text available.

Message received at [email protected]:


Received: (at 720) by bugs.devuan.org; 20 Oct 2022 12:22:38 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 20 Oct 2022 12:22:38 +0000 (UTC)
Received: from tschil.ethgen.ch (tschil.ethgen.ch [5.9.7.51])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by mx1.dyne.org (Postfix) with ESMTPS id CC239740027
	for <[email protected]>; Thu, 20 Oct 2022 14:22:30 +0200 (CEST)
Authentication-Results: mx1.dyne.org;
	dkim=pass (4096-bit key; unprotected) header.d=ethgen.de [email protected] header.a=rsa-sha256 header.s=mail header.b=IElykQZi;
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ethgen.de;
	 s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:
	Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID:
	Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
	:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
	List-Post:List-Owner:List-Archive;
	bh=0dgIOn1NRf5qZhgbxvg8AJV6S4uqWd79JlBuleKXR9Y=; b=IElykQZiryJmrhx9Y3+GhJTQBU
	QuqSFPc0jUJJwBwcPAI/2IbpxD4I2SSVrsT1GjcRXvY/6a2KNd6JonXkJLVuLe0YeMNnuTlGQnkCV
	A2WFPiqo6+5O+pj7gL1dO14V2iChMatiW0Y65pdXntm+7iyEK83Dj8Bjp7Uni6/Sq9ovkELOjlbB7
	rptuiqrEJmqqyuE5YJJ75Yl//f02AuIevt4R+8/CdMhBykp/1/mOAv/j0Tl4vQ67YyBCTnfXVNxnB
	Ljej/Adss51NG4b4j+GfSTgKsme3P5rKeN8bD9Pm5peYERe77AlicPr3juHUuQvRENcMaYG6cZDhj
	oXcBVi7l6Ce+ooITebxjtl7TTorlou3chmg0UXqylWR+CpKe5AhwtORVojlObfVzR8ywWfze4tpEO
	2JyZw0wexHTBV5CB6VyK6DVGbOQ3Ms93aGOcpTp1D4n1jkFTO/igtgqjdsjUkpK4Ln04xOFcuSyST
	NocQlL7AFbbuGdeyl5cGpu6d8lrPet91fj0a+DbKpSmBQjfruFJTJcvKDniYhPmzHU9T19KDqAvE4
	QjFQdau3qlo77hhURsmCirL2ZsqbGokRPH+FeHj7fGVmwajPL0p/7ilCqX5Vt2ZI8y2ANEqlcHHEt
	FkVRtaIv0Z7QHscQ3SCuWit6lHVl198Td0+GbMLgw=;
Received: from [192.168.17.4] (helo=ikki.ket)
	by tschil.ethgen.ch with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1olUZD-0008K1-Dp; Thu, 20 Oct 2022 12:22:31 +0000
Received: from klaus by ikki.ket with local (Exim 4.96)
	(envelope-from <[email protected]>)
	id 1olUZD-0003bB-0l;
	Thu, 20 Oct 2022 14:22:31 +0200
Date: Thu, 20 Oct 2022 13:22:31 +0100
From: Klaus Ethgen <[email protected]>
To: Mark Hindley <[email protected]>
Cc: [email protected]
Subject: Re: bug#720: New rsyslog logs '[localhost]' instead of the real
 hostname
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="B10Ghqd9vyiZgzpr"
Content-Disposition: inline
In-Reply-To: <[email protected]>
OpenPGP: id=79D0B06F4E20AF1C;
 url=http://www.ethgen.ch/~klaus/79D0B06F4E20AF1C.txt; preference=signencrypt
X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED autolearn=disabled
	version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mail.dyne.org


--B10Ghqd9vyiZgzpr
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline

Hi Mark,

Am Do den 20. Okt 2022 um 13:00 schrieb Mark Hindley:
> On Thu, Oct 20, 2022 at 11:48:57AM +0100, Klaus Ethgen wrote:
> > Package: rsyslog
> > Version: 8.2210.0-1devuan1
> > Severity: normal
> > 
> > Since rsyslog update today from 8.2208.0-1devuan1 to 8.2210.0-1devuan1,
> > all log entries do not log the hostname anymore but instead using
> > '[localhost]' (literally).
> 
> Was this logged as 'localhost' before the update?

No, it was logged as the real hostname (for example 'ikki')

> Reading the upstream changelog, I am unclear what has changed and if it is
> intentional.

I had found one that seems to be the source. [0]

> > -- Configuration Files:
> > /etc/logcheck/ignore.d.server/rsyslog [Errno 13] Permission denied: '/etc/logcheck/ignore.d.server/rsyslog'
> 
> Can you check the perms on this file? Why is there an error? It should be world
> readable (644).
> 
> But it may be unrelated...

This is unrelated but te directory above is not readable for other than
logcheck.

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <[email protected]>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C

--B10Ghqd9vyiZgzpr
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAABCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAmNRPYEACgkQpnwKsYAZ
9qzuiQv/dCIr/YAHluxEOGwEqLSVZTHr4LWt3sQSrYQm0flKJVnRKI9+v+LnhAzk
XQKOugy2Q2mlxofSFnsm2kcdzrZ8ZkGy55FjryOivFkcErPPgJcvYR8v/vv/tUAs
ne3B+ErJ03p636H600zFHZQ0MaSCLEnPt7BqEMFxGGguJXnLfN1fA328SHBbDQMz
4GuSVKjIlmJd+4VrjlmWOoAB2/Ge5CMnn0uvhQMCebuEybYxhaYCC+XpEcpkQjkS
vtSAG+90uAs+V/18HAaj9vQfZngrD46L/bqyQJ9YvHTu126ckc1TkbAC/D2Kk6vf
c619+VKXcVnTCssImsjDqDWTynuoMpI+mdCbnTzE9dLUDkUJhqGRrQu+8JQI+kJx
VawYaNJBmymeH45FrbLgjFb3c3DvWS39zpa9TCUoPXCr65amDsL63fxdTs4Nm0XB
zlAFNpdve/6dK6CjmU3MBupwBmChmcDRXxV+Lakw3cwQfYtoCES/mEvF7PxnSKEm
7veuXwHM
=ir+a
-----END PGP SIGNATURE-----

--B10Ghqd9vyiZgzpr--

Acknowledgement sent to Klaus Ethgen <[email protected]>:
Extra info received and forwarded to list. Copy sent to Devuan Developers <[email protected]>. Full text available.
Information forwarded to [email protected], Devuan Developers <[email protected]>:
bug#720; Package rsyslog. Full text available.

Message received at [email protected]:


Received: (at 720) by bugs.devuan.org; 20 Oct 2022 12:01:32 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 20 Oct 2022 12:01:32 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mx1.dyne.org (Postfix) with ESMTPS id 5F946740027
	for <[email protected]>; Thu, 20 Oct 2022 14:00:51 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1olUEE-0004HF-Os; Thu, 20 Oct 2022 13:00:51 +0100
Received: (nullmailer pid 23275 invoked by uid 1000);
	Thu, 20 Oct 2022 12:00:50 -0000
Date: Thu, 20 Oct 2022 13:00:50 +0100
From: Mark Hindley <[email protected]>
To: Klaus Ethgen <[email protected]>, [email protected]
Subject: Re: bug#720: New rsyslog logs '[localhost]' instead of the real
 hostname
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Debbugs-No-Ack: No Thanks
X-Spam-Status: No, score=1.4 required=5.0 tests=KHOP_HELO_FCRDNS,RDNS_DYNAMIC
	autolearn=disabled version=3.4.6
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mail.dyne.org

Klaus,

Thanks for this.

On Thu, Oct 20, 2022 at 11:48:57AM +0100, Klaus Ethgen wrote:
> Package: rsyslog
> Version: 8.2210.0-1devuan1
> Severity: normal
> 
> Since rsyslog update today from 8.2208.0-1devuan1 to 8.2210.0-1devuan1,
> all log entries do not log the hostname anymore but instead using
> '[localhost]' (literally).

Was this logged as 'localhost' before the update?

Reading the upstream changelog, I am unclear what has changed and if it is
intentional.

> -- Configuration Files:
> /etc/logcheck/ignore.d.server/rsyslog [Errno 13] Permission denied: '/etc/logcheck/ignore.d.server/rsyslog'

Can you check the perms on this file? Why is there an error? It should be world
readable (644).

But it may be unrelated...

Thanks.

Mark

Information forwarded to [email protected], Devuan Developers <[email protected]>:
bug#720; Package rsyslog. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 20 Oct 2022 10:49:46 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 20 Oct 2022 10:49:46 +0000 (UTC)
Received: from tschil.ethgen.ch (tschil.ethgen.ch [5.9.7.51])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by mx1.dyne.org (Postfix) with ESMTPS id C234674E427
	for <[email protected]>; Thu, 20 Oct 2022 12:48:58 +0200 (CEST)
Authentication-Results: mx1.dyne.org;
	dkim=pass (4096-bit key; unprotected) header.d=ethgen.de [email protected] header.a=rsa-sha256 header.s=mail header.b=YUA4RRyN;
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ethgen.de;
	 s=mail; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date:Sender:
	Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
	Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
	In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
	List-Post:List-Owner:List-Archive;
	bh=TgUIw2eKEuMTw69SX9xheEYRADMuZewDjJ14wmTlABs=; b=YUA4RRyNhc1E4V0u8C0B9ZSqmy
	WPqz7Lmr3I1bM3x9idhwc8iMqYOT0n29533dQUOu5qBcG+BVl/t5yeA9gSEuyKqFOzdrlWOqouHZ8
	Pwfr6OTQ6DcnPyHCtLIxbLrv/sAFBY1wwuM19ujUSnQMs1+RuW20OawaO3EFaa0sjjtiuFiCBzg8F
	gIG2YJUIKkO996dNJ7keoRyXWW8Wa9xu5GFrGiL65c2uztkZnJOCIQL81469RhpblShsrDvnLLrwM
	SgkYLNERnayHNJygYxcf5rwxZshcor7FMzvkOlBMJnG+mVTMezeDBOj8bAQaAgj79ctDIVLwxuOB8
	OWHjeISwQrquLDNZEZeVUQtUXtXAYQbUiGlmjlG3oDglLMF4KVFTNO0jGKYhowe+r39dw7k6C+eSZ
	SPCTTjcNUkURuhNXZEdin6TFxRmjKdRT0OrIATrpOKzUTGDrmTpIJNbeVgArnuJZ8xQi5v7E5axIV
	pArGQStE1BOjU4ro0RuFkB53KAqZoeHCt0eW5zmGP1Gn/QUQAmfmexD69U0ACG/SEe1uuktmYhWIx
	v3UB4QHx00KMfBZ3WSE+0S59GGfxvKf9BbPJxXjbY9UMwQ5paKjQfodRbQ99EyN3Di3AxO86KNus/
	Ta7ruPVWiNHtmGHbuy/kJEvJuF1sFLuzCoRg53QNc=;
Received: from [192.168.17.4] (helo=ikki.ket)
	by tschil.ethgen.ch with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1olT6f-0007pK-C7; Thu, 20 Oct 2022 10:48:57 +0000
Received: from klaus by ikki.ket with local (Exim 4.96)
	(envelope-from <[email protected]>)
	id 1olT6f-0003cc-0c;
	Thu, 20 Oct 2022 12:48:57 +0200
Date: Thu, 20 Oct 2022 11:48:57 +0100
From: Klaus Ethgen <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: New rsyslog logs '[localhost]' instead of the real hostname
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="rg070ydJ7O8F8tE8"
Content-Disposition: inline
X-Reportbug-Version: 11.5.1devuan1
OpenPGP: id=79D0B06F4E20AF1C;
 url=http://www.ethgen.ch/~klaus/79D0B06F4E20AF1C.txt; preference=signencrypt
X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED autolearn=disabled
	version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mail.dyne.org


--rg070ydJ7O8F8tE8
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: rsyslog
Version: 8.2210.0-1devuan1
Severity: normal

Since rsyslog update today from 8.2208.0-1devuan1 to 8.2210.0-1devuan1,
all log entries do not log the hostname anymore but instead using
'[localhost]' (literally).

This breaks logcheck as '[' and ']' is not expected in hostname field.

Also it is not possible anymore (more important) to see from which host
the message origins.

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus/ceres)
Release:	5
Codename:	daedalus ceres
Architecture: x86_64

Kernel: Linux 5.16.17 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=3DC, LC_CTYPE=3DC.UTF-8 (charmap=3DUTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages rsyslog depends on:
ii  init-system-helpers        1.65.2devuan1
ii  libc6                      2.35-3
ii  libestr0                   0.1.11-1
ii  libfastjson4               0.99.9-2
ii  liblognorm5                2.0.6-4
ii  libuuid1                   2.38.1-1.1devuan1
ii  libzstd1                   1.5.2+dfsg-1
ii  lsb-base                   11.4
ii  sysvinit-utils [lsb-base]  3.05-6devuan1
ii  zlib1g                     1:1.2.11.dfsg-4.1

Versions of packages rsyslog recommends:
ii  logrotate  3.20.1-1+b1

Versions of packages rsyslog suggests:
ii  rsyslog-doc                       8.2210.0+dfsg-1
pn  rsyslog-gssapi                    <none>
pn  rsyslog-mongodb                   <none>
pn  rsyslog-mysql | rsyslog-pgsql     <none>
pn  rsyslog-openssl | rsyslog-gnutls  <none>
ii  rsyslog-relp                      8.2210.0-1devuan1

-- Configuration Files:
/etc/logcheck/ignore.d.server/rsyslog [Errno 13] Permission denied: '/etc/l=
ogcheck/ignore.d.server/rsyslog'
/etc/logrotate.d/rsyslog changed:
/var/log/syslog
{
	rotate 7
	daily
	missingok
	notifempty
	delaycompress
	compress
        create 640 root adm
	postrotate
		/usr/lib/rsyslog/rsyslog-rotate
	endscript
}
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
/var/log/messages
/var/log/news/news.crit
/var/log/news/news.err
/var/log/news/news.notice
{
	rotate 4
	weekly
	missingok
	notifempty
	compress
        create 640 root adm
	delaycompress
	sharedscripts
	postrotate
		/usr/lib/rsyslog/rsyslog-rotate
	endscript
}

/etc/rsyslog.conf changed:
module(load=3D"imuxsock") # provides support for local system logging
module(load=3D"imklog")   # provides kernel logging support
$RepeatedMsgReduction off
$template TraditionalFormatWithPRI,"%timegenerated:::date-rfc3339% %hostnam=
e% %syslogfacility-text%.%syslogseverity-text%: %syslogtag%%msg:::sp-if-no-=
1st-sp%%msg:::drop-last-lf%\n"
$template TraditionalFormatWithPRIColor,"\27[0;35m%timegenerated:::date-rfc=
3339% \27[0;36m%hostname% \27[0;31m%syslogfacility-text%.%syslogseverity-te=
xt%\27[0m: \27[0;32m%syslogtag%\27[0m%msg:::sp-if-no-1st-sp%%msg:::drop-las=
t-lf%\n"
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
$FileOwner root
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$Umask 0022
$WorkDirectory /var/spool/rsyslog
$IncludeConfig /etc/rsyslog.d/*.conf
auth,authpriv.*			/var/log/auth.log
*.*;auth,authpriv.none		-/var/log/syslog
daemon.*			-/var/log/daemon.log
kern.*				-/var/log/kern.log
lpr.*				-/var/log/lpr.log
mail.*				-/var/log/mail.log
user.*				-/var/log/user.log
mail.info			-/var/log/mail.info
mail.warn			-/var/log/mail.warn
mail.err			/var/log/mail.err
*.=3Ddebug;\
	auth,authpriv.none;\
	mail.none		-/var/log/debug
*.=3Dinfo;*.=3Dnotice;*.=3Dwarn;\
	auth,authpriv.none;\
	cron,daemon.none;\
	mail.none		-/var/log/messages
*.emerg				:omusrmsg:*
daemon,mail.*;\
	*.=3Ddebug;*.=3Dinfo;\
	*.=3Dnotice;*.=3Dwarn;\
	news.none;authpriv.none;cron.none;\
	cron.notice;authpriv.notice;\
	news.=3Dcrit;news.=3Derr /dev/tty12;TraditionalFormatWithPRIColor


-- no debconf information
Gru=DF
   Klaus
--=20
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <[email protected]>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C

--rg070ydJ7O8F8tE8
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAABCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAmNRJ5gACgkQpnwKsYAZ
9qw7GgwAvMaNmdjkPqLRubiPhDWIO9yo3bTDuCWmoWd+pHA4iTMKN24Bhsf6YYNK
PhhyPrwRedpVCRj49Zq+s/WaHvyazPyZWFAD/fZJrDjbQSDejo625AdFIlbTvwdt
tt2lfnfF5k/rx1b8SfP2h5GLZfywOqp2dJ/4gzUVBHicXlOcFtypLgXOBtxv0oHb
5RjBsENZxJIf9/yv8AxY/a5xs350IXVe4o7LHkbr4FOXNEL7ZpNzLH1ofoukBQru
D7X28WWGreQaFAi8teHSHo116GEFfB9e7/ZjYU4oOupV4HxKyLV+2F3MXxJclplw
Z6wTDL+MgEk4SmuMhUt6GFhwMcCwW5pw347FMbSaNPwp27qqS+XU5jZdQ2y78B2V
JlchMn2WyFHGQSOHNHZn3NrZwoL5qfSRoWFtCUHGntSs6ms2q4euhq5KuOpPXv0J
/QcJGPXBlH4rliNOeTNwB9M5GrygTCMr+4iS3upy6icPqoR4LqoQp7OwwPliWOnb
6gR3Iuzj
=n5PA
-----END PGP SIGNATURE-----

--rg070ydJ7O8F8tE8--

Acknowledgement sent to Klaus Ethgen <[email protected]>:
New bug report received and forwarded. Copy sent to Devuan Developers <[email protected]>. Full text available.
Report forwarded to [email protected], Devuan Developers <[email protected]>:
bug#720; Package rsyslog. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Thu, 28 Nov 2024 06:39:01 UTC