Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 11:31:45 +0200
From:      Alexander Yerenkow <yerenkow@gmail.com>
To:        "Marat N.Afanasyev" <amarat@li.ru>
Cc:        stable@freebsd.org
Subject:   Re: 10.0, csh history merge broken?
Message-ID:  <CAPJF9wnvHiT2zctAYZujsPR0k8zzhkUbfKAeYjUB7mZ4E%2Bs18w@mail.gmail.com>
In-Reply-To: <52E0EA2A.4000105@ksu.ru>
References:  <52E0E917.3060403@li.ru> <52E0EA2A.4000105@ksu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@zealot.ksu.ru:/mnt/
> ssdtmp/obj/mnt/mod_usr/10.0/sys/ZEALOT  amd64
>
> --
> SY, Marat
>
>


-- 
Regards,
Alexander Yerenkow



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPJF9wnvHiT2zctAYZujsPR0k8zzhkUbfKAeYjUB7mZ4E%2Bs18w>