Bug 2107078

Summary: [RHEL9] clevis-systemd should be automatically enabled when RHEL systemd preset enables clevis-luks-askpass.path
Product: Red Hat Enterprise Linux 9 Reporter: Sergio Arroutbi <sarroutb>
Component: clevisAssignee: Sergio Arroutbi <sarroutb>
Status: CLOSED ERRATA QA Contact: Martin Zelený <mzeleny>
Severity: unspecified Docs Contact: Mirek Jahoda <mjahoda>
Priority: unspecified    
Version: 9.1CC: dapospis, mjahoda, mzeleny, scorreia
Target Milestone: rcKeywords: Triaged
Target Release: 9.1Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: clevis-18-105.el9 Doc Type: Enhancement
Doc Text:
.`clevis-luks-askpass` is now enabled by default The `/lib/systemd/system-preset/90-default.preset` file now contains the `enable clevis-luks-askpass.path` configuration option and the installation of the `clevis-systemd` sub-package ensures that the `clevis-luks-askpass.path` unit file is enabled. This enables the Clevis encryption client to unlock also LUKS-encrypted volumes that mount late in the boot process. Before this update, the administrator must use the `systemctl enable clevis-luks-askpass.path` command to enable Clevis to unlock such volumes.
Story Points: ---
Clone Of:
: 2107081 (view as bug list) Environment:
Last Closed: 2022-11-15 10:39:54 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: 2106811    
Bug Blocks:    

Description Sergio Arroutbi 2022-07-14 09:40:16 UTC
Description of problem:
When clevis-systemd is installed and systemd preset is configured for clevis-luks-askpass.path as "enabled", clevis does not get enabled


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


How reproducible:
Installation of clevis-systemd packag
Steps to Reproduce:
1.Install clevis-systemd
$ dnf install clevis-systemd

2.List unit files
$ systemctl list-unit-files


Actual results:
$ sudo systemctl list-unit-files clevis-luks-askpass.path
UNIT FILE                STATE    VENDOR PRESET
clevis-luks-askpass.path disabled enabled      


Expected results:
$ sudo systemctl list-unit-files clevis-luks-askpass.path
UNIT FILE                STATE    VENDOR PRESET
clevis-luks-askpass.path enabled  enabled      


Additional info:

Comment 12 errata-xmlrpc 2022-11-15 10:39:54 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 (clevis 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-2022:8232