install with encrypted home failed near the end: OSError: [Errno 12] Cannot allocate memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ecryptfs-utils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Precise |
Fix Released
|
High
|
Colin Watson | ||
user-setup (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Precise |
Fix Released
|
High
|
Colin Watson |
Bug Description
I was trying to recreate another bug and just a full disk install with an encrypted home and received a notification that ubiquity had crashed.
TEST CASE:
1. Use a system with 1GB of RAM or less or a VM and set Virtual Memory to 1024MB
2. Boot a Live Session
3. Start Ubiquity
4. Select the following options:
- prepare: select 'Download upgrades while installing' and 'Install 3rd party software'
- partman: use entire disk
- user setup: Encrypt my home directory
5. Proceed with installation
ACTUAL RESULT
Near the end of installation ubiquity crash with the following error in syslog:
Apr 11 20:52:47 ubuntu plugininstall.py: self.pid = os.fork()
Apr 11 20:52:47 ubuntu plugininstall.py: OSError: [Errno 12] Cannot allocate memory
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubiquity 2.10.8
ProcVersionSign
Uname: Linux 3.2.0-22-generic x86_64
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
CasperVersion: 1.314
Date: Wed Apr 11 13:53:54 2012
InstallCmdLine: file=/cdrom/
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120410)
ProcEnviron:
LANGUAGE=
TERM=linux
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in ubiquity (Ubuntu Precise): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
summary: |
- install with encrypted home failed near the end + install with encrypted home failed near the end: OSError: [Errno 12] + Cannot allocate memory |
tags: | added: qa-manual-testing rls-mgr-p-tracking |
description: | updated |
Changed in ubiquity (Ubuntu Precise): | |
assignee: | Canonical Foundations Team (canonical-foundations) → Colin Watson (cjwatson) |
tags: |
added: rls-p-tracking removed: rls-mgr-p-tracking |
Changed in user-setup (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in ubiquity (Ubuntu Precise): | |
status: | Confirmed → Triaged |
Ah, I seem to have run out of memory:
Apr 11 20:52:47 ubuntu plugininstall.py: log-output -t ubiquity cp -a /var/log/syslog /target/ var/log/ installer/ syslog ubiquity/ plugininstall. py", line 1720, in <module> ubiquity/ plugininstall. py", line 57, in wrapper ubiquity/ plugininstall. py", line 1701, in cleanup 'umount' , os.path. join(self. target, 'cdrom')) ubiquity/ ubiquity/ misc.py" , line 506, in execute call(log_ args) python2. 7/subprocess. py", line 493, in call python2. 7/subprocess. py", line 679, in __init__ python2. 7/subprocess. py", line 1143, in _execute_child
Apr 11 20:52:47 ubuntu plugininstall.py: Exception during installation:
Apr 11 20:52:47 ubuntu plugininstall.py: Traceback (most recent call last):
Apr 11 20:52:47 ubuntu plugininstall.py: File "/usr/share/
Apr 11 20:52:47 ubuntu plugininstall.py: install.run()
Apr 11 20:52:47 ubuntu plugininstall.py: File "/usr/share/
Apr 11 20:52:47 ubuntu plugininstall.py: self.cleanup()
Apr 11 20:52:47 ubuntu plugininstall.py: File "/usr/share/
Apr 11 20:52:47 ubuntu plugininstall.py: misc.execute(
Apr 11 20:52:47 ubuntu plugininstall.py: File "/usr/lib/
Apr 11 20:52:47 ubuntu plugininstall.py: status = subprocess.
Apr 11 20:52:47 ubuntu plugininstall.py: File "/usr/lib/
Apr 11 20:52:47 ubuntu plugininstall.py: return Popen(*popenargs, **kwargs).wait()
Apr 11 20:52:47 ubuntu plugininstall.py: File "/usr/lib/
Apr 11 20:52:47 ubuntu plugininstall.py: errread, errwrite)
Apr 11 20:52:47 ubuntu plugininstall.py: File "/usr/lib/
Apr 11 20:52:47 ubuntu plugininstall.py: self.pid = os.fork()
Apr 11 20:52:47 ubuntu plugininstall.py: OSError: [Errno 12] Cannot allocate memory