The encrypted swap partition is not correctly setup

Bug #1331520 reported by Saverio Miroddi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I've installed Ubuntu using an encrypted (home) setup, which also sets up an encrypted partition.

Such swap partition though, it's not setup correctly, so it causes problems, for example, with the hibernation support.

I've found that /dev/mapper/cryptswap1 doesn't exist, as setup by the Ubuntu installer.

I've tried to run ecryptfs-setup-swap, which correctly sets up the system (I can see a change in /etc/fstab, /etc/crypttab, and also, /dev/mapper/cryptswap1 symlink is created), but when I restart the system, same problem happens.
---
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: saverio 2356 F.... pulseaudio
DistroRelease: Ubuntu 14.04
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-06-10 (16 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64+mac (20140417)
MachineType: Apple Inc. MacBookAir5,1
NonfreeKernelModules: wl zfs zunicode zavl zcommon znvpair
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-30-generic root=UUID=28e3abb7-be92-4b4d-89ee-80413ed880eb ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-30.54-generic 3.13.11.2
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-30-generic N/A
 linux-backports-modules-3.13.0-30-generic N/A
 linux-firmware 1.127.3
Tags: trusty
Uname: Linux 3.13.0-30-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 11/27/2012
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBA51.88Z.00EF.B02.1211271028
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-66F35F19FE2A0D05
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookAir5,1
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-66F35F19FE2A0D05
dmi.modalias: dmi:bvnAppleInc.:bvrMBA51.88Z.00EF.B02.1211271028:bd11/27/2012:svnAppleInc.:pnMacBookAir5,1:pvr1.0:rvnAppleInc.:rnMac-66F35F19FE2A0D05:rvrMacBookAir5,1:cvnAppleInc.:ct10:cvrMac-66F35F19FE2A0D05:
dmi.product.name: MacBookAir5,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
---
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: saverio 2356 F.... pulseaudio
DistroRelease: Ubuntu 14.04
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-06-10 (16 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64+mac (20140417)
MachineType: Apple Inc. MacBookAir5,1
NonfreeKernelModules: wl zfs zunicode zavl zcommon znvpair
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-30-generic root=UUID=28e3abb7-be92-4b4d-89ee-80413ed880eb ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-30.54-generic 3.13.11.2
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-30-generic N/A
 linux-backports-modules-3.13.0-30-generic N/A
 linux-firmware 1.127.3
Tags: trusty
Uname: Linux 3.13.0-30-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 11/27/2012
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBA51.88Z.00EF.B02.1211271028
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-66F35F19FE2A0D05
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookAir5,1
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-66F35F19FE2A0D05
dmi.modalias: dmi:bvnAppleInc.:bvrMBA51.88Z.00EF.B02.1211271028:bd11/27/2012:svnAppleInc.:pnMacBookAir5,1:pvr1.0:rvnAppleInc.:rnMac-66F35F19FE2A0D05:rvrMacBookAir5,1:cvnAppleInc.:ct10:cvrMac-66F35F19FE2A0D05:
dmi.product.name: MacBookAir5,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1331520

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.16 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16-rc1-utopic/

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Saverio Miroddi (64kramsystem) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected trusty
description: updated
Revision history for this message
Saverio Miroddi (64kramsystem) wrote : BootDmesg.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : CRDA.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : IwConfig.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : Lspci.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : Lsusb.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : ProcEnviron.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : ProcModules.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : RfKill.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : UdevDb.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : UdevLog.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : WifiSyslog.txt

apport information

description: updated
Revision history for this message
Saverio Miroddi (64kramsystem) wrote : AlsaInfo.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : BootDmesg.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : CRDA.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : IwConfig.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : Lspci.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : Lsusb.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : ProcEnviron.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : ProcModules.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : RfKill.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : UdevDb.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : UdevLog.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote : WifiSyslog.txt

apport information

Revision history for this message
Saverio Miroddi (64kramsystem) wrote :

Is the kernel related to the swap setup?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.