Bug 213705 - shutdown not gracefully exiting shells losing their console history.
Summary: shutdown not gracefully exiting shells losing their console history.
Status: Closed Not Enough Information
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.0-STABLE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-22 15:22 UTC by joeb1
Modified: 2017-03-22 21:53 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description joeb1 2016-10-22 15:22:52 UTC
The normal behavior of csh shells on exit is to save the session console command history for that user and restore the previous session history when that user logs back in. 

The long existing problem with the shutdown, reboot, and halt commands is that they just kill all things running including the shells of any users logged on the system resulting in the loss of their current session console command history.

The goal would be to have shutdown, reboot, and halt commands changed to gracefully exit all currently running shells before starting to kill all remaining things running or at least gracefully exit the shell that the command was issued from.