Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Aug 2021 17:42:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257495] sh shell does not save history after reboot
Message-ID:  <bug-257495-227-OQW0pHfPtE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257495-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257495-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257495

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #7 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Piotr Pawel Stefaniak from comment #6)

That commit reports:

QUOTE
sh: implement persistent history storage
Implement persistent history storage:
the strategy is simple at start: loads the existing .sh_history file
at exit dump it.
. . .
END QUOTE

Does the shell in which something like a "shutdown -r now"
is typed cleanly "exit" so that the .sh_history file (or
other file if controlled) is reliably updated? What about
other shell's for possibly other logged-in accounts at the
time of such a reboot?

I'm not so sure that this bugzilla entry should be in the
"closed FIXED" state, even for main [So: 14].

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257495-227-OQW0pHfPtE>