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

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: dak@devuan.org
Subject: bug#720: marked as done (New rsyslog logs '[localhost]' instead
 of the real hostname)
Message-ID: <handler.720.D720.166694184928175.ackdone@bugs.devuan.org>
References: <1666941846.920632.22144.nullmailer@dak.localnet.devuan.org>
 <Y1EnmVMrwZYNpyDS@ikki.ethgen.ch>
X-Devuan-PR-Message: closed 720
X-Devuan-PR-Package: rsyslog
X-Devuan-PR-Keywords: upstream
Reply-To: 720@bugs.devuan.org
Date: Fri, 28 Oct 2022 07:26:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1666941962-28211-0"
[Message part 1 (text/plain, inline)]
Your message dated Fri, 28 Oct 2022 07:24:06 +0000
with message-id <1666941846.920632.22144.nullmailer@dak.localnet.devuan.org>
and subject line #720: fixed in src:rsyslog version 8.2210.0-2devuan1
has caused the Devuan bug report #720,
regarding New rsyslog logs '[localhost]' instead of the real hostname
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.devuan.org
immediately.)


-- 
720: https://bugs.devuan.org/cgi/bugreport.cgi?bug=720
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: Klaus Ethgen <Klaus@ethgen.de>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: New rsyslog logs '[localhost]' instead of the real hostname
Date: Thu, 20 Oct 2022 11:48:57 +0100
[Message part 3 (text/plain, inline)]
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=C, LC_CTYPE=C.UTF-8 (charmap=UTF-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/logcheck/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="imuxsock") # provides support for local system logging
module(load="imklog")   # provides kernel logging support
$RepeatedMsgReduction off
$template TraditionalFormatWithPRI,"%timegenerated:::date-rfc3339% %hostname% %syslogfacility-text%.%syslogseverity-text%: %syslogtag%%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\n"
$template TraditionalFormatWithPRIColor,"\27[0;35m%timegenerated:::date-rfc3339% \27[0;36m%hostname% \27[0;31m%syslogfacility-text%.%syslogseverity-text%\27[0m: \27[0;32m%syslogtag%\27[0m%msg:::sp-if-no-1st-sp%%msg:::drop-last-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
*.=debug;\
	auth,authpriv.none;\
	mail.none		-/var/log/debug
*.=info;*.=notice;*.=warn;\
	auth,authpriv.none;\
	cron,daemon.none;\
	mail.none		-/var/log/messages
*.emerg				:omusrmsg:*
daemon,mail.*;\
	*.=debug;*.=info;\
	*.=notice;*.=warn;\
	news.none;authpriv.none;cron.none;\
	cron.notice;authpriv.notice;\
	news.=crit;news.=err /dev/tty12;TraditionalFormatWithPRIColor


-- no debconf information
Gruß
   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)]
[Message part 5 (message/rfc822, inline)]
From: dak@devuan.org
To: 720-done@bugs.devuan.org
Subject: #720: fixed in src:rsyslog version 8.2210.0-2devuan1
Date: Fri, 28 Oct 2022 07:24:06 +0000
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 <devuan-dev@lists.dyne.org>
Changed-By: Mark Hindley <mark@hindley.org.uk>
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-----

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:43:51 2024;