Bug#751707: systemd: offset is ignored in /etc/crypttab

Martin Pitt mpitt at debian.org
Thu Apr 16 12:59:17 BST 2015


Control: severity -1 critial

Hello,

Stuart Pook [2014-06-15 20:34 +0200]:
> My /etc/crypttab contains
> 
> swap_raw /dev/disk/by-uuid/1e0707ec-4420-49b7-96db-b3a5e72325be /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=128,hash=sha256,offset=4096
> 
> and this worked fine with cryptdisks_start however the option "offset"
> is not understood by systemd.  I did "apt-get upgrade" which installed
> systemd, and now, after a couple of reboots, I don't have any swap and
> my device /dev/disk/by-uuid/1e0707ec-4420-49b7-96db-b3a5e72325be has
> vanished.

I just noticed that from the Ubuntu side (LP #953875). IMHO this
qualifies as data loss, and we cannot repair this automatically after
the damage happened. So I'd really like to fix this in jessie.

I just sent a patch to the upstream bug and mailing list, and will
commit it to experimental and master.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150416/18086afd/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list