Bug 1812576

Summary: RFE: Bitlocker detection for RHEL 8.3
Product: Red Hat Enterprise Linux 8 Reporter: Richard W.M. Jones <rjones>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Radka Brychtova <rskvaril>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3CC: tzheng
Target Milestone: rcKeywords: FutureFeature
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: V2V
Fixed In Version: util-linux-2.32.1-23.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 02:06:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1808977    

Description Richard W.M. Jones 2020-03-11 15:37:02 UTC
Description of problem:

For the IMS project we are looking at how to add Windows Bitlocker
support (bug 1808977).  We believe that to detect Bitlocker-encrypted
devices in Windows VMs we will need the following patch backported
to util-linux:

https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=136f89ce5ed8cd159a1c56b5a775dada2363ecd3

Seems fairly self-contained.  If you want you can assign the
work to me.

Version-Release number of selected component (if applicable):

util-linux-2.32.1-22.el8.x86_64

Comment 2 Karel Zak 2020-04-29 09:56:10 UTC
Richard, are you able to verify BitLocker detection in libblkid if we will add it to RHEL-8.3? 

Unfortunately, I have no test image for it in the upstream tree...

Comment 3 Richard W.M. Jones 2020-04-29 10:46:58 UTC
Yes I have a test image and can verify the bug for you.

For my own reference here's how:

$ wget http://oirase.annexia.org/windows-bitlocker.qcow2.xz
$ unxz windows-bitlocker.qcow2.xz

With the new libblkid installed on the host:

$ guestfish --ro -a windows-bitlocker.qcow2
><fs> run
><fs> list-partitions 
/dev/sda1
><fs> vfs-type /dev/sda1
BitLocker

The last command will print something else (I think "unknown") if
Bitlocker support is not working.

Comment 10 errata-xmlrpc 2020-11-04 02:06:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (util-linux bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4575