[Bug 984923] [NEW] Ubuntu OEM encrypted home installation: out of memory on first boot after end user config

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Wed Apr 18 14:05:13 UTC 2012


Public bug reported:

Precise OEM encrypted home: 20120418

On a 1GB system, if the end user selects 'encrypt home' during setup,
swap is wiped then turned off. So when the user login for the first time
after end user setup, the system runs without swap which leads to 'out
of memory' errors

e.g
$ ubuntu-bug ubiquity
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 507, in <module>
    app.run_argv()
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 543, in run_argv
    return self.run_report_bug()
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 387, in run_report_bug
    self.file_report()
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 1040, in file_report
    self.open_url(url)
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 935, in open_url
    if os.fork() > 0:
OSError: [Errno 12] Cannot allocate memory
ubuntu at ubuntu-VirtualBox:~$ free
             total       used       free     shared    buffers     cached
Mem:       1019488     900132     119356          0        320      49252
-/+ buffers/cache:     850560     168928
Swap:            0          0          0

This is similar to bug 979350 that occurs during installation.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu4
Architecture: amd64
Date: Wed Apr 18 16:00:11 2012
EcryptfsInUse: Yes
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed vga=788 initrd=/install/initrd.gz quiet -- keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=oss oem-config/enable=true
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120418)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oem-config precise qa-daily-testing rls-mgr-p-tracking

-- 
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/984923

Title:
  Ubuntu OEM encrypted home installation: out of memory on first boot
  after end user config

Status in “ubiquity” package in Ubuntu:
  New

Bug description:
  Precise OEM encrypted home: 20120418

  On a 1GB system, if the end user selects 'encrypt home' during setup,
  swap is wiped then turned off. So when the user login for the first
  time after end user setup, the system runs without swap which leads to
  'out of memory' errors

  e.g
  $ ubuntu-bug ubiquity
  Traceback (most recent call last):
    File "/usr/share/apport/apport-gtk", line 507, in <module>
      app.run_argv()
    File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 543, in run_argv
      return self.run_report_bug()
    File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 387, in run_report_bug
      self.file_report()
    File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 1040, in file_report
      self.open_url(url)
    File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 935, in open_url
      if os.fork() > 0:
  OSError: [Errno 12] Cannot allocate memory
  ubuntu at ubuntu-VirtualBox:~$ free
               total       used       free     shared    buffers     cached
  Mem:       1019488     900132     119356          0        320      49252
  -/+ buffers/cache:     850560     168928
  Swap:            0          0          0

  This is similar to bug 979350 that occurs during installation.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu4
  Architecture: amd64
  Date: Wed Apr 18 16:00:11 2012
  EcryptfsInUse: Yes
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed vga=788 initrd=/install/initrd.gz quiet -- keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=oss oem-config/enable=true
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120418)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/984923/+subscriptions




More information about the foundations-bugs mailing list