Use luks-${UUID} instead of LUKS-udisks2-${UUID} to match the rest of the OS
authorDavid Zeuthen <davidz@redhat.com>
Wed, 2 Nov 2011 20:22:09 +0000 (16:22 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 2 Nov 2011 20:22:09 +0000 (16:22 -0400)
In particular, systemd uses luks-${UUID}

Signed-off-by: David Zeuthen <davidz@redhat.com>
src/udiskslinuxencrypted.c

index fef342a..066019d 100644 (file)
@@ -309,7 +309,7 @@ handle_unlock (UDisksEncrypted        *encrypted,
   if (is_in_crypttab && crypttab_name != NULL)
     name = g_strdup (crypttab_name);
   else
-    name = g_strdup_printf ("LUKS-udisks2-%s", udisks_block_get_id_uuid (block));
+    name = g_strdup_printf ("luks-%s", udisks_block_get_id_uuid (block));
   escaped_name = g_strescape (name, NULL);
 
   /* if available, use and prefer the /etc/crypttab passphrase */