touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #60965
[Bug 1429354] Re: ecryptfs install does not initialize cryptswap partition
This is reproducible with a default "use full disk" and "encrypt my home
dir" installation. This produces that kind of crypttab which apparently
never initializes the cryptswap partition. blkid -p on that partition is
empty, there is no LUKS file system on it. I'm not sure about the role
of UUID for a cryptswap device that gets initialized from /dev/urandom,
but I figure there's supposed to be an outer LUKS wrapper around the
"inner" swap partition?
This is broken under upstart as well, it's just that booting silently
ignores the missing cryptswap partition and you have a system without
any swap.
** Summary changed:
- cryptswap (with ecryptfs) configures invalid crypttab
+ ecryptfs install does not initialize cryptswap partition
** Changed in: systemd (Ubuntu)
Status: Incomplete => Triaged
** Package changed: systemd (Ubuntu) => ubiquity (Ubuntu)
** Also affects: systemd (Ubuntu)
Importance: Undecided
Status: New
** Changed in: ubiquity (Ubuntu)
Importance: Undecided => High
** Changed in: systemd (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1429354
Title:
ecryptfs install does not initialize cryptswap partition
Status in cryptsetup package in Ubuntu:
Triaged
Status in ubiquity package in Ubuntu:
Triaged
Bug description:
My system boots almost instantly with upstart. Today i tried booting with systemd via the additional grub option.
However, with systemd it takes really long to boot but – so long that i forced a reboot once because i thought i got stuck.
Looking in to boot journal, i found the following error concerning the swap:
Mär 07 09:28:00 darw1n systemd[1]: dev-sda3.swap swap process exited, code=exited status=255
Mär 07 09:28:00 darw1n systemd[1]: Failed to activate swap Swap Partition.
Mär 07 09:28:00 darw1n systemd[1]: Unit dev-sda3.swap entered failed state.
And this concerning nvidia-persistenced
Mär 07 09:28:00 darw1n nvidia-persistenced[433]: Started (433)
Mär 07 09:28:00 darw1n nvidia-persistenced[433]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 116 has read and write permissions for thos
Mär 07 09:28:00 darw1n nvidia-persistenced[433]: The daemon no longer has permission to remove its runtime data directory /var/run/nvidia-persistenced
I checked that /dev/sda3 exists and is a swap partition and i check for the /dev/nvidia files:
$ ls -Alst /dev/nvidia0
0 crw-rw-rw- 1 root root 195, 0 Mär 7 09:29 /dev/nvidia0
However, the interesting part is here, where nothing seems to happen for a minute: (see the timestamps):
Mär 07 09:28:01 darw1n systemd[1]: Started LSB: AppArmor initialization.
Mär 07 09:28:31 darw1n systemd-journal[234]: Forwarding to syslog missed 99 messages.
Mär 07 09:29:29 darw1n systemd[1]: Job dev-disk-by\x2duuid-0b93a0a2\x2d115c\x2d4a45\x2d9075\x2d5f31454c5a41.device/start timed out.
Mär 07 09:29:29 darw1n systemd-journal[234]: Forwarding to syslog missed 1 messages.
Mär 07 09:29:29 darw1n systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-0b93a0a2\x2d115c\x2d4a45\x2d9075\x2d5f31454c5a41.device.
Mär 07 09:29:29 darw1n systemd[1]: Dependency failed for Cryptography Setup for cryptswap1.
Mär 07 09:29:29 darw1n systemd[1]: Dependency failed for dev-mapper-cryptswap1.device.
Mär 07 09:29:29 darw1n systemd[1]: Dependency failed for /dev/mapper/cryptswap1.
Mär 07 09:29:29 darw1n systemd[1]: Dependency failed for Swap.
Mär 07 09:29:29 darw1n systemd[1]: Job swap.target/start failed with result 'dependency'.
Mär 07 09:29:29 darw1n systemd[1]: Job dev-mapper-cryptswap1.swap/start failed with result 'dependency'.
Mär 07 09:29:29 darw1n systemd[1]: Job dev-mapper-cryptswap1.device/start failed with result 'dependency'.
Mär 07 09:29:29 darw1n systemd[1]: Dependency failed for Encrypted Volumes.
Mär 07 09:29:29 darw1n systemd[1]: Job cryptsetup.target/start failed with result 'dependency'.
Mär 07 09:29:29 darw1n systemd[1]: Job systemd-cryptsetup@cryptswap1.service/start failed with result 'dependency'.
Mär 07 09:29:29 darw1n systemd[1]: Job dev-disk-by\x2duuid-0b93a0a2\x2d115c\x2d4a45\x2d9075\x2d5f31454c5a41.device/start failed with result 'timeout'.
Mär 07 09:29:29 darw1n systemd[1]: Reached target System Initializatio
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: systemd 219-4ubuntu3
ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3
Uname: Linux 3.16.0-30-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.16.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Mar 7 09:31:09 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-02-05 (29 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-30-generic.efi.signed root=UUID=63ea7e2a-9b00-4298-b58c-7a68c2775a87 ro vt.handoff=7 init=/lib/systemd/systemd systemd.debugshell
SourcePackage: systemd
UpgradeStatus: Upgraded to vivid on 2015-02-23 (11 days ago)
dmi.bios.date: 12/17/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.60
dmi.board.name: H97 Performance
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.60:bd12/17/2014:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH97Performance:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1429354/+subscriptions
References