Bug 2151576

Summary: [RHEL9.2] format failed when enable fips [rhel-9.1.0.z]
Product: Red Hat Enterprise Linux 9 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: cryptsetupAssignee: Daniel Zaťovič <dzatovic>
Status: CLOSED ERRATA QA Contact: guazhang <guazhang>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 9.2CC: agk, cllang, dbelyavs, guazhang, hkario, jbrassow, okozina, prajnoha
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cryptsetup-2.4.3-5.el9_1.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2148841 Environment:
Last Closed: 2023-01-23 15:23:42 UTC Type: ---
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: 2148841    
Bug Blocks:    

Comment 3 guazhang@redhat.com 2023-01-13 00:11:55 UTC
[root@dell-r430-7 ~]# fips-mode-setup --check
FIPS mode is enabled.
[root@dell-r430-7 ~]# cryptsetup luksFormat /dev/loop0 -q
Enter passphrase for /root/1.tar: 
[root@dell-r430-7 ~]# $?
-bash: 0: command not found
[root@dell-r430-7 ~]# 

the fixed package works well, move to verified.

Comment 7 errata-xmlrpc 2023-01-23 15:23:42 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 (cryptsetup 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-2023:0349