upower doesn't properly detect encrypted swap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upower (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: upower
upower doesn't recognize a cryptswap partition created using the ecryptfs-
Using the ecryptfs-setup-swap script, I got the following /etc/crypttab line:
# <target name> <source device> <key file> <options>
cryptswap1 /dev/sda5 /dev/urandom swap,cipher=
To prevent hibernation issues with randomly encrypted swap, I attempted to prevent hibernation and discovered, that /etc/UPower/
# This controls whether hibernate is allowed when using encrypted swap.
#
# default=true
AllowHibern
The remainder of the file is identical to the original version since I reinstalled my system just yesterday. I then rebooted, expecting hibernation options to disappear from the shutdown menu. Seeing how this didn't happen, I used D-feet to inspect the org.freedesktop
=== conjecture (!) on possible cause ===
A brief glance over the original source package (minus all patches) upower_
Filename Type Size Used Priority
/dev/dm-0 partition 8000364 0 -1
which is actually the device symlinked by /dev/mapper/
=== apport information ===
Architecture: amd64
DistroRelease: Ubuntu 10.10
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
NonfreeKernelMo
Package: upower 0.9.5-4
PackageArchitec
ProblemType: Bug
SourcePackage: upower
Tags: maverick
Uname: Linux 2.6.35-27-generic x86_64
description: | updated |
Changed in upower (Ubuntu): | |
status: | New → Confirmed |