fail to create live session user when user-setup/encrypt-home=true is passed

Bug #1153908 reported by Nobuto Murata
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

If passing user-setup/encrypt-home=true as preseeding, creation of live session
user fails.

Minimal steps to reproduce:
 1. boot from ISO
 2. focus "Try Ubuntu without installing"
 3. change kernel parameter from "quiet splash" to "single user-setup/encrypt-home=true"
 4. boot

Expected result:
 live session user is created.
 $ id ubuntu
    uid=999(ubuntu) gid=...

Actual result:
 live session user is not created.
 $ id ubuntu
    id: ubuntu: No such user

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: casper 1.315.1
ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
CasperVersion: 1.315.1
Date: Tue Mar 12 05:28:55 2013
LiveMediaBuild: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
MarkForUpload: True
ProcEnviron:
 SHELL=/bin/bash
 TERM=linux
 PATH=(custom, no user)
SourcePackage: casper
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nobuto Murata (nobuto) wrote :
Revision history for this message
Nobuto Murata (nobuto) wrote :
Revision history for this message
Nobuto Murata (nobuto) wrote :
Revision history for this message
Joseph Matheney (pfifo-fast) wrote :

There are a few things that need to be checked, in the initramfs we should have modules for aes cbc and or ecb (I think their built into the kernel so no modules needed) We also need to have encryptfs-utils and cryptsetup stuff in the initramfs. I have only 32 bit architecture available to me, im going to check all this out on my livecd. If someone could do the same for the 64bit livecd and report back I can really use the info.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Can you check if this can be reproduced with raring ?
If not, then it's a regression caused by recent cryptsetup changes, resulting in ecryptfs-utils not added to the initramfs during the cd build.

Changed in casper (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Matheney (pfifo-fast) wrote :

This also affects the ubuntu-13.04-desktop-i386.iso

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.