[Bug 979350] Re: install with encrypted home failed near the end: OSError: [Errno 12] Cannot allocate memory

Colin Watson cjwatson at canonical.com
Wed Apr 18 14:51:31 UTC 2012


It doesn't help matters that ecryptfs-setup-swap disables the compressed
RAM device that we use for swap on live CDs under memory pressure.  That
probably doesn't make much difference in the 1GB case, but it'd still be
a good thing to fix.

** Also affects: ecryptfs-utils (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/979350

Title:
  install with encrypted home failed near the end: OSError: [Errno 12]
  Cannot allocate memory

Status in “ecryptfs-utils” package in Ubuntu:
  New
Status in “ubiquity” package in Ubuntu:
  Confirmed
Status in “ecryptfs-utils” source package in Precise:
  New
Status in “ubiquity” source package in Precise:
  Confirmed

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
  ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
  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/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120410)
  ProcEnviron:
   LANGUAGE=en_US.UTF-8
   TERM=linux
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/979350/+subscriptions




More information about the foundations-bugs mailing list