CVSROOT:        /cvs
Module name:    src
Changes by:     chel...@cvs.openbsd.org 2018/04/07 13:08:13

Modified files:
        sbin/shutdown  : shutdown.c 

Log message:
Display local timezone in all deadline estimates.

Admins don't necessarily reside in the same timezone as the
machine.  If an admin mistakenly schedules downtime for a
machine at the wrong time this could be quite bad.

Users, too, don't necessarily reside in the same timezone as the
machine.  Saying the box is going down at "15:40" is potentially
ambiguous.

So, display the local timezone in all logs, broadcasts, printouts,
messages, etc.  Give the admin a chance to correct the mistake; give
the user a better idea of when the box is actually going down.

This also updates the process' understanding of the present time
before printing estimates.  The system's wall clock could have
changed after the shutdown was scheduled, making subsequent
broadcasts potentially misleading for users.

ok deraadt@

Reply via email to