Don't offer Hibernate option if no swap
Bug #320208 reported by
Michael Terry
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm |
Unknown
|
Medium
|
|||
gdm (Ubuntu) |
Fix Released
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gdm
If there's no swap partition, gdm shouldn't offer to hibernate, as it doesn't make sense.
There's an upstream bug with patch that hasn't been commented on. I'll attach a Jaunty debdiff here as well.
Related branches
Changed in gdm: | |
status: | Unknown → Invalid |
tags: | added: oem-services |
Changed in gdm: | |
importance: | Unknown → Medium |
status: | Invalid → Unknown |
To post a comment you must log in.
Hi Michael. Does this only hide the hibernate option from the GDM greeter? I haven't tried it, but my guess is that is probably the case. The problem is that the gnome-session dialog and FUSA will still offer hibernate even if there is no swap available, as they get the capabilities from HAL (and in turn - pm-utils).
I think this sort of thing should go in to pm-utils really