RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1766526 - [RFE] Add support for listing existing PBD policies in place
Summary: [RFE] Add support for listing existing PBD policies in place
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: clevis
Version: 8.2
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: rc
: 8.0
Assignee: Sergio Correia
QA Contact: Martin Zelený
Jan Fiala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-29 10:57 UTC by Sergio Correia
Modified: 2020-04-28 15:37 UTC (History)
4 users (show)

Fixed In Version: clevis-11-5.el8
Doc Type: Enhancement
Doc Text:
.Clevis is able to list policies in place for a given LUKS device With this update, the `clevis luks list` command lists PBD policies in place for a given LUKS device. This makes it easier to find information on Clevis pins in use and pin configuration, for example, Tang server addresses, details on `tpm2` policies, and SSS thresholds.
Clone Of:
Environment:
Last Closed: 2020-04-28 15:37:11 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed patch adding clevis luks list command. (30.86 KB, patch)
2019-11-28 15:58 UTC, Sergio Correia
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:1595 0 None None None 2020-04-28 15:37:22 UTC

Description Sergio Correia 2019-10-29 10:57:44 UTC
Description of problem:

Provide support for listing the policies in place; such as listing existing metadata; tang server addresses, etc through something like a `clevis luks list` command.

Comment 1 Martin Zelený 2019-11-13 14:51:38 UTC
New test case will be needed.

Comment 2 Sergio Correia 2019-11-28 15:58:36 UTC
Created attachment 1640426 [details]
Proposed patch adding clevis luks list command.

Comment 3 Martin Zelený 2019-11-29 13:01:52 UTC
AC:

The 'clevis luks list' command with the device as a parameter will show what clevis pin is bound to that device and it's pin's config.

Comment 11 errata-xmlrpc 2020-04-28 15:37:11 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, 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:1595


Note You need to log in before you can comment on or make changes to this bug.