[243] in The Cryptographic File System users list

home help back first fref pref prev next nref lref last post

Zero length files on 1.4.1

daemon@ATHENA.MIT.EDU (Bill Dorsey)
Thu Oct 18 11:59:55 2001

From owner-cfs-users@crypto.com Thu Oct 18 15:59:55 2001
Return-Path: <owner-cfs-users@crypto.com>
Delivered-To: cfs-mtg@CHARON.mit.edu
Received: (qmail 27582 invoked from network); 18 Oct 2001 15:59:55 -0000
Received: from mx.crypto.com (207.140.168.138)
  by charon.mit.edu with SMTP; 18 Oct 2001 15:59:55 -0000
Received: (from majordomo@localhost)
	by MultiHostMXServer (8.9.3/8.9.x4) id LAA20058
	for cfs-users-list; Thu, 18 Oct 2001 11:44:56 -0400 (EDT)
X-Authentication-Warning: mx.crypto.com: majordomo set sender to owner-cfs-users@crypto.com using -f
Received: from nsa.research.att.com (H-135-207-24-155.research.att.com [135.207.24.155])
	by MultiHostMXServer (8.9.3/8.9.x4) with ESMTP id LAA18640
	for <cfs-users@crypto.com>; Thu, 18 Oct 2001 11:44:54 -0400 (EDT)
Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102]) by nsa.research.att.com (8.7.3/8.7.3) with ESMTP id LAA25480 for <cfs-users@nsa.research.att.com>; Thu, 18 Oct 2001 11:44:52 -0400 (EDT)
Received: by mail-blue.research.att.com (Postfix)
	id 466F14CE71; Thu, 18 Oct 2001 11:44:54 -0400 (EDT)
Delivered-To: cfs-users@research.att.com
Received: from lila.com (unknown [216.240.40.38])
	by mail-blue.research.att.com (Postfix) with ESMTP id 4B7154CE65
	for <cfs-users@research.att.com>; Thu, 18 Oct 2001 11:44:53 -0400 (EDT)
Received: from MATADOR (localhost [127.0.0.1])
	by lila.com (8.11.3nb1/8.11.3) with SMTP id f9IFin108515
	for <cfs-users@research.att.com>; Thu, 18 Oct 2001 08:44:50 -0700 (PDT)
From: "Bill Dorsey" <dorsey@lila.com>
To: <cfs-users@research.att.com>
Subject: Zero length files on 1.4.1
Date: Thu, 18 Oct 2001 08:44:48 -0700
Message-ID: <EMEGJOELLNLIELDHGNHMMEKGCIAA.dorsey@lila.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-cfs-users@crypto.com
Precedence: bulk

Hi,

I recently upgraded a sparcstation from Solaris to NetBSD 1.5.2 and have
been
trying to bring up CFS under the new operating system.  The README.netbsd
file in the 1.4.1 distribution had enough information in it for me to
successfully build and mount a CFS volume.  Unfortunately, I've discovered
that any files I create under an attached CFS directory are always zero
length (when going through the CFS mount point).  Here's a sample session:

% cmkdir test
Key:
Again:
% cattach test test
Key:
% cd /crypt/test
% cp /etc/passwd .
% ls -al
total 7
drwx------  2 dorsey  staff     0 Oct 17 10:42 .
drwxrwxrwx  4 root    wheel  8192 Oct 17 10:42 ..
-rw-r--r--  1 dorsey  staff     0 Oct 17 10:42 passwd
% cat passwd
% cd
% cdetach test
% cd test
% ls -al
total 24
drwxr-xr-x   2 dorsey  staff   512 Oct 17 10:42 .
drwxr-s---  27 dorsey  staff  4096 Oct 17 10:42 ..
-rw-r--r--   1 dorsey  staff     8 Oct 17 10:42 ...
-rw-r--r--   1 dorsey  staff     1 Oct 17 10:42 ..c
-rw-r--r--   1 dorsey  staff    32 Oct 17 10:42 ..k
-rw-r--r--   1 dorsey  staff     7 Oct 17 10:42 ..s
lrwxrwxrwx   1 dorsey  staff     8 Oct 17 10:42 .pvect_aef313a310d92cbd ->
d51dce9b
-rw-r--r--   1 dorsey  staff  1497 Oct 17 10:42 aef313a310d92cbd

It appears that the file is being created and encrypted OK, but for some
reason there is a failure on the decryption side.

I checked the /var/log/{messages,authlog} files for any clues but didn't see
anything relevant.

Others have reported success in getting CFS to work under NetBSD 1.5.x on
the i386 platform.  I thought I'd check this list to see if anyone has
experienced something similar or might be able to give me a clue what is
going on.  Right now, I'm thinking it may be related to RPC/rpcgen.

Thanks.

--
Bill Dorsey


home help back first fref pref prev next nref lref last post