2

[alpine-devel] Why does klogd provide logger?

Isaac Dunham
Details
Message ID
<20140708041909.GA2456@newbook>
Sender timestamp
1404793149
DKIM signature
missing
Download raw message
Hello,
I noticed a week or two ago that
service crond start
would start klogd and not syslogd; since klogd only logs kernel messages and
syslogd logs application messages, I decided to investigate.

It appears that both the klogd and syslog services provide logger, but
syslog needs klogd.

So I'm wondering: shouldn't syslog be the only service providing logger,
since klogd doesn't listen to applications?

Thanks,
Isaac Dunham


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20140708143132.4094c18b@ncopa-desktop.alpinelinux.org>
In-Reply-To
<20140708041909.GA2456@newbook> (view parent)
Sender timestamp
1404822692
DKIM signature
missing
Download raw message
On Mon, 7 Jul 2014 21:19:09 -0700
Isaac Dunham <ibid.ag@gmail.com> wrote:

> Hello,
> I noticed a week or two ago that
> service crond start
> would start klogd and not syslogd; since klogd only logs kernel messages and
> syslogd logs application messages, I decided to investigate.
> 
> It appears that both the klogd and syslog services provide logger, but
> syslog needs klogd.
> 
> So I'm wondering: shouldn't syslog be the only service providing logger,
> since klogd doesn't listen to applications?

I think you are right. This is a bug.


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20140715165547.7d416775@ncopa-desktop.alpinelinux.org>
In-Reply-To
<20140708041909.GA2456@newbook> (view parent)
Sender timestamp
1405436147
DKIM signature
missing
Download raw message
On Mon, 7 Jul 2014 21:19:09 -0700
Isaac Dunham <ibid.ag@gmail.com> wrote:

> Hello,
> I noticed a week or two ago that
> service crond start
> would start klogd and not syslogd; since klogd only logs kernel messages and
> syslogd logs application messages, I decided to investigate.
> 
> It appears that both the klogd and syslog services provide logger, but
> syslog needs klogd.
> 
> So I'm wondering: shouldn't syslog be the only service providing logger,
> since klogd doesn't listen to applications?

I pushed a fix to edge, busybox-initscript-2.2-r21. could you please
verify that it works as expected?

Thanks!

http://bugs.alpinelinux.org/issues/3156

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---