Public bug reported:

Hi,

I am using encrypted swap on this system for years, it works well, but I
recently noticed the following error messages on shutdown:

Mar 16 08:22:31 xeelee systemd[1]: Failed deactivating swap 
/dev/disk/by-id/dm-name-cryptswap1.
Mar 16 08:22:31 xeelee systemd[1]: Stopped (with error) /dev/dm-0.
Mar 16 08:22:31 xeelee systemd[1]: Stopped (with error) 
/sys/devices/virtual/block/dm-0.
Mar 16 08:22:31 xeelee systemd[1]: Stopped (with error) 
/dev/disk/by-id/dm-name-cryptswap1.
Mar 16 08:22:31 xeelee systemd[1]: Stopped (with error) 
/dev/disk/by-id/dm-uuid-CRYPT-PLAIN-cryptswap1.
Mar 16 08:22:31 xeelee systemd[1]: Failed deactivating swap 
/dev/disk/by-uuid/f2c65884-af53-45b7-8568-788e8e6b93fd.
Mar 16 08:22:31 xeelee systemd[1]: Failed deactivating swap /dev/dm-0.
Mar 16 08:22:31 xeelee systemd[1]: Stopped (with error) 
/dev/disk/by-uuid/f2c65884-af53-45b7-8568-788e8e6b93fd.
Mar 16 08:22:31 xeelee systemd[1]: Failed deactivating swap 
/dev/disk/by-id/dm-uuid-CRYPT-PLAIN-cryptswap1.

Here is a summary of my setup (more details added by apport elsewhere):

# cat /etc/fstab 
[...]
/dev/mapper/cryptswap1  none            swap    sw              0       0

# cat /etc/crypttab 
cryptswap1 /dev/sda2 /dev/urandom swap,cipher=aes-cbc-essiv:sha256

# lsblk 
NAME           MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda              8:0    0 238.5G  0 disk  
├─sda1           8:1    0 236.5G  0 part  /
└─sda2           8:2    0     2G  0 part  
  └─cryptswap1 253:0    0     2G  0 crypt [SWAP]

# blkid 
[...]
/dev/sda2: PARTUUID="000d0b0a-02"

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: cryptsetup 2:1.7.2-0ubuntu1
Uname: Linux 4.10.3-041003-lowlatency x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
CurrentDesktop: MATE
Date: Thu Mar 16 09:51:39 2017
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cryptsetup
UpgradeStatus: Upgraded to zesty on 2017-03-12 (3 days ago)
cmdline: BOOT_IMAGE=/boot/vmlinuz-4.10.3-041003-lowlatency 
root=UUID=7a79b99d-112e-4a6c-9808-ad8da1b2edcd ro quiet splash nomdmonddf 
nomdmonisw vt.handoff=7
crypttab: cryptswap1 /dev/sda2 /dev/urandom swap,cipher=aes-cbc-essiv:sha256

** Affects: cryptsetup (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1673379

Title:
  Error on shutdown: Failed deactivating swap /dev/disk/by-id/dm-name-
  cryptswap1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1673379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to