ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey <a_s_y@sama.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] syslog-ng, время сообщений ядра в логе.
Date: Sat, 20 Apr 2013 15:29:57 +0400
Message-ID: <201304201529.57942.a_s_y@sama.ru> (raw)
In-Reply-To: <201304191958.43872.a_s_y@sama.ru>

On Friday 19 April 2013, Sergey wrote:

> > Apr 12 22:25:21 kernel: klogd 1.4.1, log source = /proc/kmsg started.
> > Apr 12 18:25:21 kernel: Initializing cgroup subsys cpuset
> > Apr 12 18:25:21 kernel: Initializing cgroup subsys cpu
> > Apr 12 18:25:21 kernel: KERNEL supported cpus:
> > 
> > Причём вот про klog написано правильно. В initrd что-то не то попадает,
> > что ли ?
> 
> Нда... Совершенно случайно выяснил, что виновник - syslog-ng (причём и тот,
> что в репозитарии, и 3.4.1). То есть, syslogd, будучи запущенным на этом же
> хосте, пишет сообщения от ядра в localtime.
 
А лечится отключением klogd и заменой в syslog-ng источника
unix-dgram("/var/lib/klogd/dev/log") на file("/proc/kmsg").

-- 
С уважением, Сергей
a_s_y@sama.ru


  reply	other threads:[~2013-04-20 11:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-12 19:33 [Comm] p6, " Sergey
2013-04-19 15:58 ` [Comm] syslog-ng, " Sergey
2013-04-20 11:29   ` Sergey [this message]
2013-04-22 16:34 ` [Comm] p6, " Anton Gorlov
2013-04-22 18:46   ` Sergey
2013-04-22 20:49     ` Anton Gorlov
2013-04-23  5:57       ` Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201304201529.57942.a_s_y@sama.ru \
    --to=a_s_y@sama.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git