Robert Watson wrote: > I could be convinced by an argument that reboot and shutdown -r should > be the same, I have asked for this several times in the past but don't have the time to generate the patches myself. I think halt should be treated similarly as well. We just had a case (I believe on -stable) where a user was using 'halt' thinking that it would do the same thing as 'shutdown now' but was easier to type. He was having corruption in his ldap db because it wasn't being shut down cleanly. That said, I agree with the posters that have said that there should be overrides to halt and shutdown to force the old behavior. > and that both should talk to init, which should perform the > reboot system call. Since init is what runs rc.shutdown, and it already > knows if it's in multiuser mode (since it defines multiuser mode), it > should be able to DRT. Agreed. > My belief is that most people who type in > "reboot" do so thinking it means the same thing as "shutdown -r ". My experience (both recent as above, and past) is the same. This is especially important in the rc.d world, more so after my semi-recent change to make sure all of our services get shut down cleanly. INRE the original issue of the thread (the 5-second cooloff feature) I am ambivalent about it, but wouldn't oppose it. Doug -- This .signature sanitized for your protectionReceived on Tue Sep 29 2009 - 15:46:07 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC