[lkml]   [2015]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [GIT PULL] kdbus for 4.1-rc1
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

greg k-h

 \ /
  Last update: 2015-04-15 15:01    [W:0.281 / U:0.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site