Jedy Wang wrote: >> This isn't what I expected of this project. >> >> What I expected was that you could select Fast or "BIOS" reboot once not >> change the default setting for the system. >> >> How does the restart dialog do the reboot ? Is it by doing an exec of >> /usr/sbin/reboot ? If so I would prefer that use "-f" or "-p" depending >> on what the user selects. > Hi Darren, > > The restart dialog invokes "Stop" interface provided by Consolekit to do > the reboot which should be "init 6".
>> I think reading the config/fastreboot_default is a good thing to display >> in the restart dialog what the default is. However I don't like that >> fact that selecting this once in the dialog changes the system wide default. > > In the original design, the dialog did not change the system wide > default. A temporary property is created and it should only affect the > reboot once. But we encountered an authentication problem when designing > the underlying API because GUI (gnome-panel) does not have the proper > privilege to create the temporary property. So we choose to make the > dialog change the system wide default. But it does have the ability to change the system default - that seems wrong. Does this work at all if the user doesn't have "Primary Administrator" profile assigned and only has "Console User" ? -- Darren J Moffat