Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754431AbaDFUtg (ORCPT ); Sun, 6 Apr 2014 16:49:36 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:46790 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752575AbaDFUtd (ORCPT ); Sun, 6 Apr 2014 16:49:33 -0400 MIME-Version: 1.0 In-Reply-To: References: <20140402144219.4cafbe37@gandalf.local.home> <20140402221212.GD16570@mguzik.redhat.com> <20140402162839.d3c00e9845e89d0f092c2ce3@linux-foundation.org> <20140403104308.GP13491@8bytes.org> <20140403170541.GA19010@thunk.org> <533EF832.1030902@mit.edu> <20140404115139.3ea3d53126094f41bc0579a0@linux-foundation.org> From: David Timothy Strauss Date: Sun, 6 Apr 2014 13:49:11 -0700 Message-ID: Subject: Re: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline To: Linus Torvalds Cc: Andrew Morton , Andy Lutomirski , "Theodore Ts'o" , Joerg Roedel , Jiri Kosina , Mateusz Guzik , Greg Kroah-Hartman , Steven Rostedt , LKML , Thomas Gleixner , "H. Peter Anvin" , Borislav Petkov , Ingo Molnar , Mel Gorman , Kay Sievers Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 4, 2014 at 11:57 AM, Linus Torvalds wrote: > Since I haven't even heard a "my bad" from the systemd people, I'd be > inclined to say that a bit of protection for future issues would be a > good idea. Just coming back to this thread now, I'll say something. I'm a systemd maintainer, and I'm sorry systemd's assertion bug, combined with aliasing the debug option with the kernel's, broke a bunch of workflows (including boot) and caused a bunch of unnecessary pain. As a few other people have already said, this assertion should now be fixed. The question is now about the debug option, and I've given my +1 to Greg's patch for that. I think it's justified to put a condom on systemd's debug mode given how badly the assertion bug cascaded into affecting non-systemd work. Long-term, it would be nice to find a way to satisfy both the "admin who's just trying to find what's broken case" without harming the kernel developer case. Maybe distros could ship a "debug everything" boot option that independently enables it for the kernel, systemd, and possibly other tools. But, that's out of scope for LKML. I'll look into that as part of Fedora's Server Working Group assuming we namespace to systemd.debug. We're already shipping a "recovery" boot option. -- 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/