Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964938AbcDYUee (ORCPT ); Mon, 25 Apr 2016 16:34:34 -0400 Received: from smtprelay0012.hostedemail.com ([216.40.44.12]:41343 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S964868AbcDYUeX (ORCPT ); Mon, 25 Apr 2016 16:34:23 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:3138:3139:3140:3141:3142:3309:3352:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4043:5007:6119:6261:7875:7903:10004:10400:10450:10455:10462:10464:10848:10967:11232:11658:11914:12043:12517:12519:12740:13069:13161:13229:13311:13357:13439:14096:14097:14181:14659:14721:19904:19999:21063:21080:21212:21433:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: plate74_42fa155ab472b X-Filterd-Recvd-Size: 2414 Date: Mon, 25 Apr 2016 16:34:18 -0400 From: Steven Rostedt To: Linus Torvalds Cc: Greg Kroah-Hartman , Peter Zijlstra , LKML , Ingo Molnar , Borislav Petkov , Andrew Morton , Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= Subject: Re: [PATCH v2] printk: Add kernel parameter to disable writes to /dev/kmsg Message-ID: <20160425163418.3c851194@gandalf.local.home> In-Reply-To: References: <20160425145606.598329f2@gandalf.local.home> <20160425190651.GL3448@twins.programming.kicks-ass.net> <20160425191815.GA24761@kroah.com> <20160425192435.GM3430@twins.programming.kicks-ass.net> <20160425195437.GA25465@kroah.com> <20160425160005.0eb36aea@gandalf.local.home> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 954 Lines: 30 On Mon, 25 Apr 2016 13:23:36 -0700 Linus Torvalds wrote: > But the other issue is that once you actually have logging working, I > don't see why you don't just look at the system logs. Yeah, it's not > /var/log/messages any more, but it's not *that* hard to do. Just use > "journalctl -k" instead of dmesg, and you won't be missing data. There's a bug somewhere with mine: # journalctl -k No journal files were found. -- No entries -- And dmesg is filled with that session crap. > > This is why I harp on rate limiting, and I think your patch is silly: > it solves the wrong problem (the one that isn't a real problem), and > it does it with a sledgehammer when a flyswatter would be more > appropriate. > Unfortunately, it appears that my logging is broken. I don't have anything useful in /var/log/ with respect to kernel messages. Thus when userspace is broken, you are basically shit-out-of-luck. -- Steve