Bug 1812000

Summary: cracklib-dicts package is missing with RHVH 4.4
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Gobinda Das <godas>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhhiv-1.8CC: rhs-bugs
Target Milestone: ---   
Target Release: RHHI-V 1.8   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHVH-UNSIGNED-ISO-4.4-RHEL-8-20200318.0-RHVH-x86_64-dvd1.iso Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1812014 (view as bug list) Environment:
Last Closed: 2020-08-04 14:51:37 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: 1812014    
Bug Blocks: 1779977    

Description SATHEESARAN 2020-03-10 11:19:35 UTC
Description of problem:
-----------------------
For network bound disk encryption to work, the package - 'cracklib-dicts' needs to be included in RHVH 4.4

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHVH-UNSIGNED-ISO-4.4-RHEL-8-20200308.0-RHVH-x86_64-dvd1.iso

How reproducible:
-----------------
Always

Steps to Reproduce:
--------------------
1. Setup a tang server
2. Try to do a clevis-luks-bind to tang server

Actual results:
---------------
[root@ ~]# clevis luks bind -f -k /etc/key -d /dev/sda2 tang '{"url":"http://10.70.35.6","adv":"/etc/adv.jws"}'
/usr/share/cracklib/pw_dict.pwd.gz: No such file or directory
/usr/share/cracklib/pw_dict.pwd.gz: No such file or directory
/usr/share/cracklib/pw_dict.pwd.gz: No such file or directory
Error: Password generation failed - required entropy too low for settings
Password quality check failed:
 No password supplied
Failed to import token from file.
Error while saving Clevis metadata as a LUKS token!
No key available with this passphrase.

Expected results:
------------------
Successful bind to tang server

Comment 3 SATHEESARAN 2020-03-20 04:37:09 UTC
As the RHEL 8 bug ( BZ 1812014 ) is not accepted as *BLOCKER* for RHEL 8.2, the spec file related change will be implemented as part of RHEL 8.3
For now, RHVH includes the relevant package - cracklib-dicts - manually.

Comment 4 SATHEESARAN 2020-03-20 04:38:39 UTC
Verified with RHVH 4.4 interim ISO - RHVH-UNSIGNED-ISO-4.4-RHEL-8-20200318.0-RHVH-x86_64-dvd1.iso	


[root@ ~]# imgbase w
You are on rhvh-4.4.0.14-0.20200318.0+1

[root@ ~]# rpm -qa | grep cracklib
cracklib-dicts-2.9.6-15.el8.x86_64
cracklib-2.9.6-15.el8.x86_64


'cracklib-dicts' is available with RHVH installation

Comment 6 errata-xmlrpc 2020-08-04 14:51:37 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 (RHHI for Virtualization 1.8 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/RHEA-2020:3314