dphys-swapfile: Tries to create 256 TeraByte swapfile with ubuntu 10.04 and kernel 2.6.32 x86_64

Bug #915127 reported by Samy Ateia on 2012-01-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dphys-swapfile (Ubuntu)
Undecided
Unassigned

Bug Description

this bug is reported for debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564466
and fixed, but the version of dphys-swapfile that comes for ubuntu 10.04 still has it.

steps to reproduce:
sudo apt-get install dphys-swapfile
(on system with ubuntu 10.04 and kernel 2.6.32 x86_64 )

I find this bug severe because a normal user can't do anything against it. The script executes right away rendering the machine useless because everything hangs waiting for the massive io operation to finish. If you try to reboot the script will execute again.
making it nearly impossible to login on a different tty because login might timeout because the drive is busy. Also if you forgot your root password you can't enter the recovery console. Only solution for me was to boot via live cd, mount the hardrive and set the swapsize manually in /sbin/dphys-swapfile

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

Other bug subscribers