Bug#794547: Fwd: cryptsetup: "Operation was cancelled" after LUKS volume hotplug, but mounts successfully

Michael Biebl biebl at debian.org
Tue Mar 12 02:09:07 GMT 2019


Control: tags -1 + moreinfo

Hi Matvey,

sorry for not getting back to you earlier.
Can you still reproduce the issue on an up-to-date buster system with
systemd v241?


On Tue, 4 Aug 2015 05:50:55 -0400 Matvey Soloviev
<msoloviev at cs.cornell.edu> wrote:
> Package: systemd
> Version: 222-2
> Severity: normal
> 
> Dear Maintainer,
> 
> When hotplugging an external HDD with a LUKS volume, after entering the
> password, I consistently get an error message saying: "Unable to mount 1.0 TB
> Encrypted"/"Operation was cancelled". However, the volume itself is mounted
> successfully. After the timeout set in /etc/crypttab options expires, an error
> message like the following is generated in the journal:
> 
> Aug 04 04:51:55 luminous systemd[1]: dev-disk-by\x2duuid-
> 82eaf8eb\x2da748\x2d4d55\x2da7de\x2d3fdb4d8504f6.device: Job dev-disk-by
> \x2duuid-82eaf8eb\x2da748\x2d4d55\x2da7de\x2d3fdb4d8504f6.device/start timed
> out.
> Aug 04 04:51:55 luminous systemd[1]: Timed out waiting for device
> Elements_1048.
> Aug 04 04:51:55 luminous systemd[1]: Dependency failed for Cryptography Setup
> for d4.
> Aug 04 04:51:55 luminous systemd[1]: systemd-cryptsetup at d4.service: Job
> systemd-cryptsetup at d4.service/start failed with result 'dependency'.
> Aug 04 04:51:55 luminous systemd[1]: dev-disk-by\x2duuid-
> 82eaf8eb\x2da748\x2d4d55\x2da7de\x2d3fdb4d8504f6.device: Job dev-disk-by
> \x2duuid-82eaf8eb\x2da748\x2d4d55\x2da7de\x2d3fdb4d8504f6.device/start failed
> with result 'timeout'.
> 
> The relevant /etc/crypttab line is:
> 
> d4 UUID=82eaf8eb-a748-4d55-a7de-3fdb4d8504f6 none luks,nofail,x-systemd.device-
> timeout=200
> 
> Same for /etc/fstab:
> 
> /dev/mapper/d4  /d4 ext4    rw,nofail   0   2
> 
> The above journal.txt lines are preceded by the following corresponding reports
> of success:
> 
> Aug 04 04:48:26 luminous kernel: sd 11:0:0:0: [sdc] 1953519616 512-byte logical
> blocks: (1.00 TB/931 GiB)
> Aug 04 04:48:26 luminous kernel: sd 11:0:0:0: [sdc] Write Protect is off
> Aug 04 04:48:26 luminous kernel: sd 11:0:0:0: [sdc] Mode Sense: 47 00 10 08
> Aug 04 04:48:26 luminous kernel: sd 11:0:0:0: [sdc] No Caching mode page found
> Aug 04 04:48:26 luminous kernel: sd 11:0:0:0: [sdc] Assuming drive cache: write
> through
> Aug 04 04:48:26 luminous kernel: sd 11:0:0:0: [sdc] Attached SCSI disk
> Aug 04 04:48:34 luminous systemd[1]: Found device /dev/disk/by-
> uuid/3ce8740e-b413-44e2-ab44-c0aaaa9a2f98.
> Aug 04 04:48:34 luminous systemd[1]: Found device /dev/disk/by-id/dm-uuid-
> CRYPT-LUKS1-82eaf8eba7484d55a7de3fdb4d8504f6-d4.
> Aug 04 04:48:34 luminous systemd[1]: Found device /dev/disk/by-id/dm-name-d4.
> Aug 04 04:48:34 luminous systemd[1]: Found device /dev/dm-1.
> Aug 04 04:48:34 luminous systemd[1]: Found device
> /sys/devices/virtual/block/dm-1.
> Aug 04 04:48:34 luminous systemd[1]: Starting File System Check on
> /dev/mapper/d4...
> Aug 04 04:48:34 luminous systemd[1]: Started File System Check Daemon to report
> status.
> Aug 04 04:48:34 luminous systemd[1]: Starting File System Check Daemon to

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190312/6ef3091e/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list