Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 06-22-2010, 02:27 AM   #1
LQ Newbie
Registered: Jun 2010
Posts: 12

Rep: Reputation: 0
Exclamation livecd and encrypted home


While working on a custom livecd (based on Kubuntu 9.10 LiveCd) I stumbled upon a 100% reproducible bug (or better missing feature to go to a wishlist):
- boot from the livecd
- create a new user with admin rights and encrypted home
- logout ubuntu
- login with new user
- copy a binary into the home folder of the new user
- run it. Fails with
binary_name: Function not implemented
I saw a simmilar bug but related to a newer kernel 2.6.33. My kernel is 2.6.31-14. The bug also is reproducible for 2.6.31-20.
Old 06-23-2010, 02:59 AM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,191
Blog Entries: 4

Rep: Reputation: 464Reputation: 464Reputation: 464Reputation: 464Reputation: 464
Good find - you should also report this to the Ubuntu developers mailing list.

Welcome to LQ
Old 06-24-2010, 07:14 AM   #3
LQ Newbie
Registered: Jun 2010
Posts: 12

Original Poster
Rep: Reputation: 0
I did. Thanks for the suggestion. I hope it gets answered. Somehow I think its related to the whole livecd infrastructure: squashfs, initrd aso. The weird thing about it is that if I try to run the binary through valgrind (for debugging purposes) it runs just fine. Maybe that sheds some light upon the issue at stake.
Old 06-29-2010, 04:04 AM   #4
LQ Newbie
Registered: Jun 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Hello again,

Tried also a simplified scenario on Lucid with similar results:
- boot from live cd
- create a user with encrypted home:
adduser --gecos "" --encrypt-home testuser
- su to the new user:
# su testuser
$ ecryptfs-mount-private
- copy a binary into home and run it
$ cp /bin/ls ~/
$ cd ~
$ ./ls
ls: Function not implemented

Last edited by linus.newbert; 06-29-2010 at 04:10 AM. Reason: typo
Old 07-07-2010, 10:55 PM   #5
LQ Newbie
Registered: Jun 2010
Posts: 12

Original Poster
Rep: Reputation: 0
It seems like a dead-end for now:

Your question #116953 on ecryptfs-utils in ubuntu changed:

Status: Open => Answered

Dustin Kirkland proposed the following answer:
This is because eCryptfs is not supported on top of any stacked
filesystems (nfs, cifs, samba, or aufs).
So I guess this qualifies for a solution to my issue ...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to recover my encrypted Home directory pazzport Linux - Desktop 7 05-14-2012 11:30 PM
fresh install with encrypted home partition w00ly Ubuntu 5 11-13-2009 01:32 AM
Error creating encrypted home the.odd.byte Incognito 3 04-01-2009 06:51 PM
encrypted home directories TomaCzar Slackware 1 05-19-2005 07:00 AM
encrypted home on Slamd64 Phathead Slackware 1 04-29-2005 07:11 AM

All times are GMT -5. The time now is 03:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration