On Mon, 2024-08-26 at 13:23 +0930, Tim via users wrote:
Fulko Hew:
But 'shutdown' provided all the housekeeping work such as:
- disabling logins
- sending out messages to users screen warning them of the
impending doom
- providing grace time
- unmounted file systems
- killed the system
Patrick O'Callaghan:
Same here. However these are reasonable measures on a multi-user system. On a single-user desktop they just get in the way, especially with journal-based filesystems.
Things really oughta order unmounts, unmounts should happen pretty quickly, be flagged as done, and the progress of shutting down be monitored. Not, order unmounts, wait some time, and assume it worked. Likewise for various other shutdowns.
Things may have terminated almost instantly without issues, things may have jammed and it still wouldn't have waited long enough. If something sticks you really ought to be prompted about it. If you don't have network mounts, databases running, mail servers currently dealing with a queue, etc, I see no excuses for prolonged shutdowns.
+1
poc