dphys-swapfile sets incorrect swap size
Bug #706764 reported by
Gerry Reno
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dphys-swapfile (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dphys-swapfile
In Ubuntu 10.04 LTS Lucid.
Package: dphys-swapfile does not set the proper swap file size. It currently looks at /proc/kcore to determine the memory size and in my machine this file is 0 bytes.
Attaching patch.
Related branches
tags: | added: patch |
tags: | added: fixed-in-debian fixed-upstream |
tags: | removed: fixed-in-debian fixed-upstream |
Changed in dphys-swapfile (Ubuntu): | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hi,
this is a bug already fixed in newer versions of dphys-swapfile, see http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 564466. The version in Maverick is already a fixed one. Maybe that fix should be backported to Lucid...
The only difference between the above mentioned bug report in Debian from nearly a year ago and this one is that /proc/kcore has now a zero size instead of an insanely huge size. I regard the case with a zero size kcore as way less critical than the one which fills up your hard drive.