Brian Cameron schrieb: > > Jedy/Sherry: > >> Sherry gave us the whole story. The logic you mentioned will be >> implemented in ConsoleKit which will be integrated after b128. So >> currently, we have 2 options. The first one is to wait ConsoleKit's >> integration. The second one is to integrate the current fast reboot >> support of GNOME restart dialog at b124 and then update it after >> ConsoleKit's integration after b128. > > Note that ConsoleKit currently does not support the ability to respond > to different types of reboot options. So, I assume part of the plan to > use ConsoleKit in the future is to enhance it so it can support doing > this. >
AFAIU the proposal tries to avoid exposing these options in GDM or ConsoleKit APIs. It is proposed that the restart dialog sets system-global 'reboot options' configuration, which will eventually be evaluated by init to do the right thing. Apparently init already has the right mechanism for this: a transient SMF property can be used to override the system default for the next reboot only. There is just a problem that this mechanism currently requires too much privilege, but it should be possible to work around this. If you feel that such 'tunnelling' of options to bypass the limitations of the ConsoleKit API is wrong, then I agree with Brian that the API should get a mechanism to pass in (or through) a set of system-specific boot options in a generic fashion. I don't think it is appropriate to add manifestly system-specific API to ConsoleKit. - J?rg -- Joerg Barfurth phone: +49 40 23646662 / x66662 Software Engineer mailto:joerg.barfurth at sun.com Desktop Technology http://reserv.ireland/twiki/bin/view/Argus/ Thin Client Software http://www.sun.com/software/sunray/ Sun Microsystems GmbH http://www.sun.com/software/javadesktopsystem/
