Bug 2106811

Summary: [RHEL 9] clevis-luks-askpass.path missing in RHEL presets
Product: Red Hat Enterprise Linux 9 Reporter: Sergio Arroutbi <sarroutb>
Component: redhat-releaseAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, jwboyer, lisas, mgandhi, mzeleny, pzatko, scorreia, sgallagh
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-release-9.1-1.6.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2106814 (view as bug list) Environment:
Last Closed: 2022-11-15 10:49:19 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: 2106814, 2107078    

Description Sergio Arroutbi 2022-07-13 14:58:56 UTC
Description of problem:

clevis-luks-askpass.path should be enabled in RHEL9 systemd presets, in particular in file /lib/systemd/system-preset/90-default.preset

How reproducible:
After clevis-systemd package installation, execute command:
$ systemctl list-unit-files


Actual results:
On "systemctl list-unit-files" execution, VENDOR preset appears as disabled

$ systemctl list-unit-files clevis-luks-askpass.path
UNIT FILE                STATE    VENDOR PRESET
clevis-luks-askpass.path disabled disabled     


Expected results:
On "systemctl list-unit-files" execution, VENDOR preset appears as enabled:
$ systemctl list-unit-files clevis-luks-askpass.path
UNIT FILE                STATE    VENDOR PRESET
clevis-luks-askpass.path disabled enabled    

Additional info:
This change has already been approved in Fedora Rawhide:
https://src.fedoraproject.org/rpms/fedora-release/pull-request/220

Change should be in /lib/systemd/system-preset/90-default.preset, and the contents something like:
+ # Enable clevis-luks-askpass.path
+ # https://bugzilla.redhat.com/show_bug.cgi?id=2106811
+ enable clevis-luks-askpass.path

Comment 8 errata-xmlrpc 2022-11-15 10:49:19 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 (redhat-release 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:8264