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

version graph

Package: rsyslog; Maintainer for rsyslog is Devuan Developers <devuan-dev@lists.dyne.org>; Source for rsyslog is src:rsyslog.

Reported by: Klaus Ethgen <Klaus@ethgen.de>

Date: Thu, 20 Oct 2022 10:50:01 UTC

Severity: normal

Tags: upstream

Found in version 8.2210.0-1devuan1

Fixed in version 8.2210.0-2devuan1

Done: dak@devuan.org

Forwarded to https://github.com/rsyslog/rsyslog/issues/4975

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#720: New rsyslog logs '[localhost]' instead of the real hostname
Reply-To: Klaus Ethgen <Klaus@ethgen.de>, 720@bugs.devuan.org
Resent-From: Klaus Ethgen <Klaus@ethgen.de>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Devuan Developers <devuan-dev@lists.dyne.org>
X-Loop: owner@bugs.devuan.org
Resent-Date: Thu, 20 Oct 2022 12:24:01 +0000
Resent-Message-ID: <handler.720.B720.166626855815880@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 720
X-Devuan-PR-Package: rsyslog
X-Devuan-PR-Keywords: 
References: <Y1EnmVMrwZYNpyDS@ikki.ethgen.ch> <Y1E4cmmZzbowmtIH@hindley.org.uk> <Y1EnmVMrwZYNpyDS@ikki.ethgen.ch>
Received: via spool by 720-submit@bugs.devuan.org id=B720.166626855815880
          (code B ref 720); Thu, 20 Oct 2022 12:24:01 +0000
Received: (at 720) by bugs.devuan.org; 20 Oct 2022 12:22:38 +0000
Delivered-To: devuanbugs@dyne.org
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 <720@bugs.devuan.org>; Thu, 20 Oct 2022 14:22:30 +0200 (CEST)
Authentication-Results: mx1.dyne.org;
	dkim=pass (4096-bit key; unprotected) header.d=ethgen.de header.i=@ethgen.de 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 <Klaus@ethgen.de>)
	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 <Klaus@ethgen.de>)
	id 1olUZD-0003bB-0l;
	Thu, 20 Oct 2022 14:22:31 +0200
Date: Thu, 20 Oct 2022 13:22:31 +0100
From: Klaus Ethgen <Klaus@ethgen.de>
To: Mark Hindley <mark@hindley.org.uk>
Cc: 720@bugs.devuan.org
Message-ID: <Y1E9hxnCbk2GOck8@ikki.ethgen.ch>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="B10Ghqd9vyiZgzpr"
Content-Disposition: inline
In-Reply-To: <Y1E4cmmZzbowmtIH@hindley.org.uk>
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
[Message part 1 (text/plain, 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 <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun Nov 24 10:52:42 2024;