Public bug reported:

When I use the "file" utility against a LUKS-encrypted volume, it claims
to report the UUID of the volume, but the UUID is truncated 5 characters
short.

I run:
sudo file -s /dev/sda2
/dev/sda2: LUKS encrypted file, ver 1 [aes, cbc-essiv:sha256, sha1] UUID: 
462f8ffc-1a87-4eeb-970c-120f09c

But blkid (correctly) reports:
sudo blkid /dev/sda2
/dev/sda2: UUID="462f8ffc-1a87-4eeb-970c-120f09ca3671" TYPE="crypto_LUKS"

As you can see, the "a3671" is truncated from the output of file.

(Oneiric system, patched as of today, with file 5.04-5ubuntu3)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: file 5.04-5ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Tue Oct 18 23:31:14 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: file
UpgradeStatus: Upgraded to oneiric on 2011-09-12 (36 days ago)

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


** Tags: amd64 apport-bug oneiric

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

Title:
  file utility truncates UUID for LUKS-encrypted volumes

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to