User: Password:
|
|
Subscribe / Log in / New account

Re: Regression - /proc/kmsg does not (always) block for 1-byte reads

From:  Linus Torvalds <torvalds-AT-linux-foundation.org>
To:  Jukka Ollila <jiiksteri-AT-gmail.com>
Subject:  Re: Regression - /proc/kmsg does not (always) block for 1-byte reads
Date:  Fri, 6 Jul 2012 15:09:23 -0700
Message-ID:  <CA+55aFwnLJ+0sjx92EGREGTWOx84wwKaraSzpTNJwPVV8edw8g@mail.gmail.com>
Cc:  Alan Cox <alan-AT-lxorguk.ukuu.org.uk>, linux-kernel-AT-vger.kernel.org, kay-AT-vrfy.org, jbeulich-AT-novell.com, greg-AT-kroah.com, joey-AT-debian.org
Archive-link:  Article

On Fri, Jul 6, 2012 at 3:05 PM, Jukka Ollila <jiiksteri@gmail.com> wrote:
>
> Now this got me wondering if Debian _unstable_ actually qualifies as a
> standard distro userspace.

Oh, if the kernel breaks some standard user space, that counts. Tons
of people run Debian unstable (and from my limited interactions with
it, for damn good reasons: -stable tends to run so old versions of
everything that you have to sometimes deal with cuneiform writing when
using it)

                    Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


(Log in to post comments)

Re: Regression - /proc/kmsg does not (always) block for 1-byte reads

Posted Jul 13, 2012 1:23 UTC (Fri) by hmh (subscriber, #3838) [Link]

Meh, the "daemonized dd bs=1" is weirdness that came from Ubuntu in a package Debian should, IMHO, have got rid of a long time ago (klogd and syslogd).

Standard Debian installs will use rsyslog, and not install klogd (nor its companion syslogd).

Relevant data:
http://qa.debian.org/popcon.php?package=sysklogd
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=35325

Maybe we can simply get rid of it in Debian. And I didn't check who wrote the dd hack for Ubuntu in the first place, IMO some things are best left unknown. Besides, Debian bug #35325 linked above clearly shows how crap can easily get accepted into effectively unmaintained packages, even if someone raised a (granted, very mild) objection to it.

We need to get better at ditching unmaintained crap in Debian. In this particular case, I am told the issue is the lack of a good automated transition of craplogd^Wsysklogd config to rsyslog.

Re: Regression - /proc/kmsg does not (always) block for 1-byte reads

Posted Jul 13, 2012 1:26 UTC (Fri) by dlang (subscriber, #313) [Link]

given that you can just include a sysklog config in your rsyslog.conf file with no modification, there isn't any translation needed, so any transition should be trivial.

Debian already uses the include directive to include files from /etc/rsyslog.d so this isn't even something new.


Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds