Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754280AbbDOM1s (ORCPT ); Wed, 15 Apr 2015 08:27:48 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:36635 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753332AbbDOM1k (ORCPT ); Wed, 15 Apr 2015 08:27:40 -0400 Date: Wed, 15 Apr 2015 14:27:36 +0200 From: Greg Kroah-Hartman To: Jiri Kosina Cc: Andy Lutomirski , Linus Torvalds , Andrew Morton , Arnd Bergmann , "Eric W. Biederman" , One Thousand Gnomes , Tom Gundersen , "linux-kernel@vger.kernel.org" , Daniel Mack , David Herrmann , Djalal Harouni Subject: Re: [GIT PULL] kdbus for 4.1-rc1 Message-ID: <20150415122736.GA20554@kroah.com> References: <20150413190350.GA9485@kroah.com> <20150413204547.GB1760@kroah.com> <20150414175019.GA2874@kroah.com> <20150415120042.GF19274@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1199 Lines: 30 On Wed, Apr 15, 2015 at 02:09:24PM +0200, Jiri Kosina wrote: > On Wed, 15 Apr 2015, Greg Kroah-Hartman wrote: > > > 'systemctl reboot' calls a bunch of other things to determine if you > > have local access to the machine, or permissions to reboot the machine > > (i.e. CAP_SYS_BOOT), and other things that polkit might allow you to do, > > and then, it decides to reboot or not. That happens today, right? I > > don't understand the argument here. > > And what exactly is the argument that this is the way it should be > implemnted? I can't answer that, discuss it with the developers of that userspace code please. > Why can't it just rely on the kernel to provide final answer to "to reboot > or not to reboot, that is the question"? Usually you want to do a few things before telling the kernel to reboot, like unmount all filesystems and the like :) Anyway, we are getting away from the code at hand, please, let's discuss that. greg k-h -- 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/