From owner-freebsd-stable@FreeBSD.ORG Sat Jan 25 09:31:46 2014 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6489BEE9 for ; Sat, 25 Jan 2014 09:31:46 +0000 (UTC) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3C0761FBD for ; Sat, 25 Jan 2014 09:31:46 +0000 (UTC) Received: by mail-pa0-f47.google.com with SMTP id kp14so4181690pab.20 for ; Sat, 25 Jan 2014 01:31:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MKd0on2Y1haankoWgvZ4uHWtIwh4fWaBxiWHm4Gzlfo=; b=XkzK0CsYbgxNS5rqIhDozzs5Xt2qQ2nDYRRuanCGNJgEgvDt4A63j1QlePCBgtpFM7 qmcIuPkk0oKJMVsHVCQZtTNUolh6f4gyV+SFDYJ991m1gfgKGDB3SpbwNDVFqfnqe9fP 0bI+x8NACer/yvGXrjUC8zESMILjJRwjUJst3Co17YGDVXfr+e8XwS4gzBuSWvD9Jpk1 XmLPjcK1fngGSQJ7+5GL8ENuQtEb+TNCUidcHXsKPOK9a5dU+svn7b+2VpQIxuqfypLX VyxF6xielErf6M9dmuQDWyR9gHqtDeRIKx/DHGkxnuYDtzALJgFiuBZOZStaXF2WUHim 7kmg== MIME-Version: 1.0 X-Received: by 10.66.248.227 with SMTP id yp3mr18714711pac.116.1390642305866; Sat, 25 Jan 2014 01:31:45 -0800 (PST) Received: by 10.68.234.42 with HTTP; Sat, 25 Jan 2014 01:31:45 -0800 (PST) In-Reply-To: <52E0EA2A.4000105@ksu.ru> References: <52E0E917.3060403@li.ru> <52E0EA2A.4000105@ksu.ru> Date: Sat, 25 Jan 2014 11:31:45 +0200 Message-ID: Subject: Re: 10.0, csh history merge broken? From: Alexander Yerenkow To: "Marat N.Afanasyev" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 09:31:46 -0000 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 > 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