RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1018049 - csh login/non-login history configuration is incorrect
Summary: csh login/non-login history configuration is incorrect
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: tcsh
Version: 6.6
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Jaromír Končický
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-11 05:20 UTC by Pavel Raiskup
Modified: 2014-07-01 22:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-11 05:52:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pavel Raiskup 2013-10-11 05:20:37 UTC
a) If 'tcsh' is run as non-login shell, the '$history' value has greater value
   than the value in '$savehist', which is bad according to tcsh documentation.

b) If 'tcsh' is run as login shell, the '$savehist' does not have the keyword
   'merge' inside.  This may (quite unlikely, though) trim the ~/.history file.

Comment 1 Pavel Raiskup 2013-10-11 05:32:05 UTC
I problem b) should be treat as high severity.  If user has set the default
shell to 'tcsh', the first starting and last shutdown tcsh instance is run as
login shell - thus, most likely, the history file is going to be truncated.

Comment 2 Pavel Raiskup 2013-10-11 05:42:25 UTC
Ok, scratch the comment #1, that is not truth.  I had misconfigured local
settings.  But the a) case seems to be still issue, though with much lower
severity.

Comment 3 Pavel Raiskup 2013-10-11 05:52:49 UTC
Looking it once again and even the a) case seems to be innocent to me (the
only thing what happens is that max(savehist, history) number of history
entries will be saved at shutdown).  Thus closing, sorry for noise.


Note You need to log in before you can comment on or make changes to this bug.