On Thu, Dec 13, 2007 at 01:38:13PM +0100, Stefan Farestam wrote:
> I finally got around to testing this again but it still fails, albeit in 
> a somewhat different manner; this time I get a null file in response as 
> soon as the file size is above 255 characters in length. Here is
> what I did:

I just ran this test against 2.6.24-rc7, and it worked fine for
me. There may be fixes that went in over the last few months to
mainline that could impact this particular use case. If I can find the
time, I may make another backport release, but for now, I recommend
just trying the mainline 2.6.24 kernel (the current -rc release is
pretty stable at this point, and I expect the official 2.6.24 kernel
to come out in the near future).

Thanks,
Mike

> --------------------------------------------------------
>   * Downloaded and compiled the 2.6.22.14 kernel
>     -> ensured that ecryptfs was not compiled into the kernel
> 
>   * rebooted
> 
>   * Downloaded, compiled and installed ecryptfs-20071025.tar.bz2
> 
>   * stopped any running instances of apache:
>     % apache2ctl stop
> 
>   * deleted and recreated the directories $HOME/a and $HOME/b
>     % rm -rf $HOME/{a,b}
>     % mkdir $HOME/{a,b}
> 
>   * mounted the encrypted directory as root (plaintext passthrough 
> disabled):
>     % mount -t ecryptfs $HOME/{a,b} -o cipher=aes,ecryptfs_key_bytes=32
> 
>   * mtab entry becomes:
>     %  fgrep $HOME/a /etc/mtab
>     /home/test/a /home/test/b ecryptfs 
> rw,ecryptfs_sig=4733efbff603498e,ecryptfs_cipher=aes,ecryptfs_key_bytes=32 
> 0 0
> 
>   * created testfile
>     % cat << EOF > $HOME/b/testfile.txt
> 123456789-123456789-123456789-123456789-123456789-
> 123456789-123456789-123456789-123456789-123456789-
> 123456789-123456789-123456789-123456789-123456789-
> 123456789-123456789-123456789-123456789-123456789-
> 123456789-123456789-123456789-123456789-123456789-
> 123456789-123456789-123456789-123456789-123456789-
> EOF
> 
>   * start apache
>     % apache2ctl start
> 
>   * retrieve file with wget
>     % wget http://localhost/home/b/testfile.txt
> -------------------------------------------------------------------
> 
> Michael Halcrow wrote the following on 10/05/2007 02:03 AM:
> >On Tue, Sep 11, 2007 at 04:45:25PM -0700, Stefan Farestam wrote:
> >  
> >>I downloaded this new version but couldn't get it to compile on my 
> >>system (which I just upgraded to Ubuntu Gutsy with the latest set of c 
> >>libraries etc). The compile error that I get is (when compiling using 
> >>install.sh):
> >>
> >>-------------------------------------------------------------------
> >>make[2]: Entering directory
> >>`/usr/src/linux-headers-2.6.22-11-generic'
> >>    
> >
> >I just built and tested the latest release against 2.6.22.
> >
> >http://downloads.sourceforge.net/ecryptfs/ecryptfs-20071004.tar.bz2
> >
> >Mike
> >  

> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> eCryptfs-users mailing list
> eCryptfs-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecryptfs-users

Attachment: pgpXYsnGP8TjH.pgp
Description: PGP signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
eCryptfs-users mailing list
eCryptfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecryptfs-users

Reply via email to