-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Package: udev
Version: 157-1
Severity: normal

- --- Please enter the report below this line. ---

I have a harddrive with an encrypted luks partition. It usually appears
as /dev/sdb1 on my system.
I want to move to a persistent naming convention and use UUIDs to refer
to this device and create an entry in /etc/crypttab.

If I run "cryptsetup luksUUID /dev/sdb1" I get the UUID of this partition.

If I run "udevadm info --name=/dev/sdb1 --query=all | grep -i uuid" I
get nothing!

Crypttab seems to use the udev method to get the UUID and cannot find
the partition as specified by the UUID as reported by cryptsetup.

Strangely on the same device, /dev/sdb2 is a luks partition too, but
both commands above return the same correct UUID for that partition and
everything works as expected.

Any advice here would be appreciated. Thanks

- --- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.32-5-amd64

Debian Release: squeeze/sid
  500 testing         security.debian.org
  500 testing         ftp.at.debian.org

- --- Package information. ---
Depends              (Version) | Installed
==============================-+-==============
libc6                 (>= 2.7) | 2.11.1-3
libselinux1          (>= 1.32) | 2.0.94-1
libusb-0.1-4     (>= 2:0.1.12) | 2:0.1.12-15
lsb-base            (>= 3.0-6) | 3.2-23.1
util-linux           (>= 2.16) | 2.16.2-0


Recommends      (Version) | Installed
=========================-+-===========
usbutils                  | 0.87-3
pciutils                  | 1:3.1.7-3


Package's Suggests field is empty.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwWvp4ACgkQcVtC8LX0UeaQwQCgzlcXkl+7h01A9f46pvotRQQi
LmoAnAsd8ehF4CAYDSUs/EXDTgGfQeQm
=4Qph
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to