GNU bug report logs - #30727
[PATCH] gnu: inetutils: Drop "vmunix: " prefix for messages read from /dev/kmsg in syslogd.

Previous Next

Package: guix-patches;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Tue, 6 Mar 2018 08:30:02 UTC

Severity: normal

Tags: patch

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 30727 <at> debbugs.gnu.org
Subject: [bug#30727] [PATCH] gnu: inetutils: Drop "vmunix: " prefix for messages read from /dev/kmsg in syslogd.
Date: Wed, 07 Mar 2018 13:40:55 +0100
Hello!

Danny Milosavljevic <dannym <at> scratchpost.org> skribis:

> +--- o/inetutils-1.9.4/src/syslogd.c	2015-05-12 14:13:25.000000000 +0200
> ++++ inetutils-1.9.4/src/syslogd.c	2018-03-06 09:19:41.394046776 +0100
> +@@ -1108,7 +1108,7 @@
> +   char *lp, *q, line[MAXLINE + 1];
> +   const char *p;
> + 
> +-  strcpy (line, "vmunix: ");
> ++  strcpy (line, "");

I’d rather not do that.  :-)

I think it’s good that syslogd distinguishes between “real” syslog
messages and messages coming from the kernel.  It’s also useful if one
is to filter messages.

WDYT?

Ludo’.




This bug report was last modified 7 years and 134 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.