LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  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: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:41 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration