On Tue, 2009-09-01 at 13:12 +0100, Darren J Moffat wrote: > Jedy Wang wrote: > > Hi Darren, > > > > I just tried run reboot as console user and it failed. It seems reboot > > does not support RBAC. In this case I have to extend ConsoleKit too and > > wait for the its integration (after b128). Do you have any other > > suggestion? > > Personally I think root cause of this problem is that a temporary > property needs to be created in an SMF service and that requires a > different (considerably more powerful) authorisation than the one to > reboot. I think that needs to be fixed, but that can't be done in this > case so I think this case needs to be placed in "waiting need spec" or > derailed. The project team for this case needs to work with the team > that introduced the fast reboot functionality to resolve the SMF issue. > Hi Darren,
If we extend ConsoleKit and add new interfaces which will invoke "reboot -p" and "reboot -f", then we do not need a temporary property any more. Because gnome-session can call proper interface of ConsoleKit to do a fast reboot or cold reboot according to users' input. Regards, Jedy