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 2117606 - Enable ssh-key-dir in ignition on C9S
Summary: Enable ssh-key-dir in ignition on C9S
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: ignition
Version: CentOS Stream
Hardware: All
OS: Linux
medium
low
Target Milestone: rc
: 9.1
Assignee: Steven Presti
QA Contact: Michael Nguyen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-11 12:50 UTC by Christian Glombek
Modified: 2022-11-15 11:26 UTC (History)
7 users (show)

Fixed In Version: ignition-2.14.0-2.el9
Doc Type: If docs needed, set a value
Doc Text:
If this bug requires documentation, please select an appropriate Doc Type value.
Clone Of:
Environment:
Last Closed: 2022-11-15 10:25:05 UTC
Type: Enhancement
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/rpms ignition merge_requests 11 0 None opened rhbz#2117606: Enable writing ssh keys fragments on RHEL/CentOS >= 9 2022-08-11 13:02:42 UTC
Red Hat Issue Tracker COS-1589 0 None None None 2022-08-11 16:13:59 UTC
Red Hat Issue Tracker RHELPLAN-130945 0 None None None 2022-08-11 13:02:37 UTC
Red Hat Product Errata RHSA-2022:8126 0 None None None 2022-11-15 10:25:16 UTC

Description Christian Glombek 2022-08-11 12:50:12 UTC
Description of problem:

Now that we have https://github.com/coreos/ssh-key-dir packaged for C9S / RHEL 9, and support in the MCO, we should switch the Ignition behavior to make use of it and include support in SCOS/RHCOS.

Additional info:

https://issues.redhat.com/browse/COS-1589

PR filed: https://gitlab.com/redhat/centos-stream/rpms/ignition/-/merge_requests/11

Comment 3 Michael Nguyen 2022-08-30 18:01:58 UTC
[core@cosa-devsh ~]$ rpm -q ignition
ignition-2.14.0-2.el9.x86_64
[core@cosa-devsh ~]$ ls -Rl ~/.ssh/
/var/home/core/.ssh/:
total 0
drwx------. 2 core core 22 Aug 30 18:00 authorized_keys.d

/var/home/core/.ssh/authorized_keys.d:
total 4
-rw-------. 1 core core 798 Aug 30 18:00 ignition
[core@cosa-devsh ~]$ cat ~/.ssh/authorized_keys.d/ignition 
ssh-rsa AAAAB... mnguyen
ssh-rsa AAAAB.. core@default

Comment 8 errata-xmlrpc 2022-11-15 10:25:05 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 (Moderate: ignition security, 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/RHSA-2022:8126


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