RHBA-2017:0395
The tcsh packages provide an enhanced and widely compatible version of the C shell (csh). The tcsh command language interpreter can be used as an interactive login shell, as well as a shell script command processor. This update fixes the following bug: * Previously, if the .history file was located on a network file system, such as NFS or Samba, the tcsh command language interpreter sometimes became unresponsive during the login process. With this update, the .history file is not locked if located on a network file system. As a result, tcsh no longer becomes unresponsive in the described situation. Note that having multiple instances of tcsh running can cause the .history file to become corrupted. You can resolve this problem by enabling explicit file-locking mechanism. To do that, add the "lock" parameter to the "savehist" option in the tcsh configuration file. For example: $ cat /etc/csh.cshrc # csh configuration for all shell invocations. set savehist = (1024 merge lock) To force tcsh to use file-locking when .history is located on a network file system, the "lock" parameter must be the third parameter of the "savehist" option. Do this at your own risk, because Red Hat does not guarantee that using the "lock" parameter prevents tcsh from becoming unresponsive during the login process. (BZ#1420758) Users of tcsh are advised to upgrade to these updated packages, which fix these bugs.
Evidence and freshness
Last supporting evidence check: 2026-11-27T23:33:29.885Z UTC
Upstream Advisory
Affected Packages
tcsh 6.18.01-13.el7_3.1