LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

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

Rep: Reputation: 0
Exclamation livecd and encrypted home


Hello,

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
Code:
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
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,165
Blog Entries: 4

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

Welcome to LQ
 
Old 06-24-2010, 07:14 AM   #3
linus.newbert
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
linus.newbert
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:
Code:
adduser --gecos "" --encrypt-home testuser
- su to the new user:
Code:
# su testuser
$ ecryptfs-mount-private
- copy a binary into home and run it
Code:
$ 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
linus.newbert
LQ Newbie
 
Registered: Jun 2010
Posts: 12

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

Quote:
Your question #116953 on ecryptfs-utils in ubuntu changed:
https://answers.edge.launchpad.net/u...uestion/116953

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 ...
 
  


Reply

Tags
livecd


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 07:05 PM.

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