From owner-freebsd-stable@FreeBSD.ORG Thu Mar 24 22:44:37 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72DD616A4CE for ; Thu, 24 Mar 2005 22:44:37 +0000 (GMT) Received: from luzifer.incubus.de (incubus.de [80.237.207.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D98B43D39 for ; Thu, 24 Mar 2005 22:44:37 +0000 (GMT) (envelope-from mkb@mkbuelow.net) Received: from drjekyll.mkbuelow.net (pD9E69236.dip.t-dialin.net [217.230.146.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id A6887324F9; Thu, 24 Mar 2005 23:44:35 +0100 (CET) Received: from drjekyll.mkbuelow.net (mkb@localhost.mkbuelow.net [127.0.0.1]) by drjekyll.mkbuelow.net (8.13.3/8.13.3) with ESMTP id j2OMjZKb003332; Thu, 24 Mar 2005 23:45:35 +0100 (CET) (envelope-from mkb@drjekyll.mkbuelow.net) Received: (from mkb@localhost) by drjekyll.mkbuelow.net (8.13.3/8.13.3/Submit) id j2OMjY6g003331; Thu, 24 Mar 2005 23:45:34 +0100 (CET) (envelope-from mkb) From: Matthias Buelow Message-Id: <200503242245.j2OMjY6g003331@drjekyll.mkbuelow.net> Date: Thu, 24 Mar 2005 23:45:34 +0100 To: mkb@incubus.de, freebsd-stable@freebsd.org User-Agent: nail 11.21 2/19/05 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: bdes (and other) problems on 5.3 fixit cd X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 22:44:37 -0000 Matthias Buelow wrote: > Hi folks, > > I'm trying the restore a dump, which I have encrypted with the bdes(1) > utility, from a mounted 5.3-RELEASE fixit CD (cd2 i386). > > I have encrypted the dump with the same bdes that is on that CD. > I use a pipeline that looks something like > > /mnt2/usr/bin/bdes -d > (to view the dump) and after a couple kilobytes that seem to get > through, I always get a stream of > > : fwrite error at 8 > > messages from bdes and decryption fails. > Decryption works without problems on another machine on an ordinary > 5.3-STABLE installation. From looking at bdes.c, the message gets > written on short writes (fwrite wrote less than requested). > Instead of trying to write the rest, the author decided to just print > a warning and that was it. > > Amazingly, the message doesn't get printed in a "bdes|cat" pipeline. > Only when restore is being used does it seem to happen. > Is there anything odd with shell pipelines on the fixit disk? > It doesn't matter if I use sh or tcsh for running the pipeline. > > On a side note, there seem to be other problems with the 5.3 fixit > disk.. one has to symlink /mnt2/usr/bin to /usr/bin because otherwise > scp won't find the ssh executable, and "mount" complains about "nfs not > compiled in" but there's a mount_nfs utility which works ok. Editing a > disklabel with "bsdlabel -e device" won't work, since bsdlabel complains > about "/mnt2/stand/vi: No such file or directory" and one has to set > EDITOR to "vi", or an existing pathname, in order to get it to work. > All in all, makes a bit of an unpolished appearance.. hasn't the stuff > been tested in a while? > > mkb.