All of lore.kernel.org
 help / color / mirror / Atom feed
* Warning - don't use eCryptFS
@ 2010-11-30 15:05 Paul Eggleton
  2010-11-30 16:05 ` Bruce Ashfield
  2010-12-08 18:06 ` Darren Hart
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Eggleton @ 2010-11-30 15:05 UTC (permalink / raw)
  To: poky@pokylinux.org; +Cc: scott.m.rifenbark

Hi all,

FYI I recently had some fairly serious problems with poky and the "encrypted home directory" function in Ubuntu, which uses eCryptFS. Problems I experienced included:

  * pseudo-native failing to write an sstate package ("file name too long" - apparently eCryptFS is limited to ~140 characters due to design limitations)

  * ncurses-native failing at do_install (some kind of interference with libtool that caused it to write an invalid path to the libncurses.la file, I didn't track down the exact cause as it went away when I stopped using eCryptFS. Might be indirectly related to the name length limitation.)

Scott, could you please add a warning to the documentation not to use eCryptFS with poky? In particular, it should not be used to store TMPDIR and SSTATE_DIR.

I'll follow up soon with a patch that will do a sanity check on the file name length limit - this will catch any other weird file systems that might cause these kinds of issues.

Cheers,
Paul  


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Warning - don't use eCryptFS
  2010-11-30 15:05 Warning - don't use eCryptFS Paul Eggleton
@ 2010-11-30 16:05 ` Bruce Ashfield
  2010-12-08 18:06 ` Darren Hart
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2010-11-30 16:05 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: scott.m.rifenbark, poky@pokylinux.org

On Tue, Nov 30, 2010 at 10:05 AM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> Hi all,
>
> FYI I recently had some fairly serious problems with poky and the "encrypted home directory" function in Ubuntu, which uses eCryptFS. Problems I experienced included:

On a similar note, I've had plenty of experience with ocfs2 and it
not working with git. Some limited debugging a few months ago
showed it to be missing support for some extended file system
attributes. Very opaque build errors will result if you have this as
your host filesystem.

The reason that this is significant is that the kernel is build directly
out of a git repository, and during the clone and checkout, it
typically fails under ocfs2.

I haven't observed this recently, but this email reminded me that
I should at least float the warning.

Cheers,

Bruce

>
>  * pseudo-native failing to write an sstate package ("file name too long" - apparently eCryptFS is limited to ~140 characters due to design limitations)
>
>  * ncurses-native failing at do_install (some kind of interference with libtool that caused it to write an invalid path to the libncurses.la file, I didn't track down the exact cause as it went away when I stopped using eCryptFS. Might be indirectly related to the name length limitation.)
>
> Scott, could you please add a warning to the documentation not to use eCryptFS with poky? In particular, it should not be used to store TMPDIR and SSTATE_DIR.
>
> I'll follow up soon with a patch that will do a sanity check on the file name length limit - this will catch any other weird file systems that might cause these kinds of issues.
>
> Cheers,
> Paul
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Warning - don't use eCryptFS
  2010-11-30 15:05 Warning - don't use eCryptFS Paul Eggleton
  2010-11-30 16:05 ` Bruce Ashfield
@ 2010-12-08 18:06 ` Darren Hart
  1 sibling, 0 replies; 3+ messages in thread
From: Darren Hart @ 2010-12-08 18:06 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: poky@pokylinux.org

On 11/30/2010 07:05 AM, Paul Eggleton wrote:
> Hi all,
>
> FYI I recently had some fairly serious problems with poky and the
> "encrypted home directory" function in Ubuntu, which uses eCryptFS.
> Problems I experienced included:

I've also experienced git tree corruption when using eCryptFS for my
home directory. It's definitely on my "avoid like the plague" list. I
had no such issues while using the /etc/crypttab mechanism (I forget
what the right name is for that). But Ubuntu broke that with Upstart (at
least for me).

-- 
Darren Hart
Yocto Linux Kernel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-08 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-30 15:05 Warning - don't use eCryptFS Paul Eggleton
2010-11-30 16:05 ` Bruce Ashfield
2010-12-08 18:06 ` Darren Hart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.