ConsoleKit shutdown service, a different viewpoint

Rob Taylor rob.taylor at codethink.co.uk
Fri Feb 1 05:05:40 PST 2008


I have a slightly different viewpoint on why it might not be a good idea
to have a shutdown service in ConsoleKit: what if you want more input to
the shutdown decision than just what consoles are currently active?

A good usecase to consider here is if an administrator is installing
packages or doing a distribution upgrade - how would this get fed into
the decision?

Also:
Can you have policy so a user with sufficient privileges can shut down a
box though another user's logged in?

Can you have response to a shutdown request - we have an example usecase
on the OHM wiki [1] where one console user has left a large download
going - could a user requesting a shutdown get informed of the situation?

Another example is an edge case of a simultaneous shut-down and suspend
to disk, one should always take precedence, but if a suspend is in
progress, the shutdown should probably not happen.

Ideas on how these could work would be very interesting for me!

Thanks,
Rob

[1] http://ohm.freedesktop.org/wiki/UseCases
-- 
Rob Taylor, Codethink Ltd. -  http://codethink.co.uk


More information about the hal mailing list