10.0, csh history merge broken?

Alexander Yerenkow yerenkow at gmail.com
Sat Jan 25 09:31:46 UTC 2014


This definitely deserve a PR and a fix.
And it seems that is cause of my problem described in PR 185603 - we worked
in three hands under root (ssh then tmux) and somehow got broken history
file - noticed after few reboots.
As a side effect, if history file will be large enough - it will prevent
you from logging in :)


2014/1/23 Marat N.Afanasyev <amarat at li.ru>

> Marat N.Afanasyev wrote:
>
>> Hello!
>>
>> I issued
>>
>> shutdown -p now
>>
>> as root while several user csh were running, after reboot user .history
>> file was corrupted:
>>
>> #+1360668026
>> less /etc/ma#+136066#+136cd /usr/grep KERB *
>> #+1360668067
>> cd /usr/src/contrib/bind9/##+1360668073ggrep -i kerboros *
>> #+1360668076
>> grep -iR kerboros *
>> #+1360704099
>> cd /usr/ports/www/mod_pag#+136084#+136fetch -oman sudoers
>> #+1361372281
>> cd /usr/ports/editors/openoffice-3-devel/
>> #+1361690297
>> telnet 19#+13617995m#+man uh#+1#+13617995m#+man xh#+1#+13617995a#+man ehci
>>
>> I have
>>
>> savehist        (1000 merge)
>>
>> set in user .cshrc
>>
>> I think that merging histories from different csh was broken somehow
>>
>>  I forgot to mention revision of 10.0:
>
> FreeBSD zealot.ksu.ru 10.0-PRERELEASE FreeBSD 10.0-PRERELEASE #0 r260903:
> Mon Jan 20 16:45:26 MSK 2014 root at zealot.ksu.ru:/mnt/
> ssdtmp/obj/mnt/mod_usr/10.0/sys/ZEALOT  amd64
>
> --
> SY, Marat
>
>


-- 
Regards,
Alexander Yerenkow


More information about the freebsd-stable mailing list