Bug 2126960

Summary: must handle clevis-luks-askpass and clevis-luks-askpass@ systemd unit names
Product: Red Hat Enterprise Linux 8 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Sergio Correia <scorreia>
Status: CLOSED ERRATA QA Contact: David Jež <djez>
Severity: unspecified Docs Contact: Mirek Jahoda <mjahoda>
Priority: unspecified    
Version: 8.8CC: djez, efedin, mturner, rhel-cs-system-management-subsystem-qe, scorreia, spetrosi
Target Milestone: rcKeywords: Triaged
Target Release: 8.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:nbde_client
Fixed In Version: rhel-system-roles-1.21.0-0.7.el8 Doc Type: Bug Fix
Doc Text:
.The `nbde_client` System Role now correctly handles different names of `clevis-luks-askpass` The `nbde_client` System Role has been updated to handle the systems on which the `clevis-luks-askpass` `systemd` unit has a different name. The role now correctly works with different names of `clevis-luks-askpass` on managed nodes, which requires unlocking also LUKS-encrypted volumes that mount late in the boot process.
Story Points: ---
Clone Of: 2126959 Environment:
Last Closed: 2023-05-16 08:31:12 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: 2126959    
Bug Blocks:    

Description Rich Megginson 2022-09-14 23:18:08 UTC
+++ This bug was initially created as a clone of Bug #2126959 +++

the clevis-systemd package on 8.2 EUS and other systems use clevis-luks-askpass@ as for the systemd unit name, but the nbde_client role assumes only clevis-luks-askpass is used.  The role should handle both forms on managed nodes.

--- Additional comment from Rich Megginson on 2022-09-14 23:17:27 UTC ---

See https://github.com/linux-system-roles/nbde_client/pull/79 for additional information and an alternate approach - but I think it is better for the role to handle this rather than the user having to know which form to use.

Comment 12 errata-xmlrpc 2023-05-16 08:31:12 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 (rhel-system-roles 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-2023:2804