Back to bug 2232241

Who When What Removed Added
Red Hat Bugzilla 2023-08-15 21:38:13 UTC Pool ID sst_system_roles_rhel_9
Rich Megginson 2023-08-16 00:44:41 UTC Whiteboard role:kdump
Link ID Github linux-system-roles/kdump/pull/162
Target Release --- 9.3
Doc Type If docs needed, set a value Bug Fix
Status NEW ASSIGNED
Flags needinfo?(briasmit)
RHEL Program Management 2023-08-16 00:44:50 UTC Keywords Triaged
Rich Megginson 2023-08-16 00:54:21 UTC Doc Text Cause: The new key content had an extra newline at the end.

Consequence: The test to see if the new key content was in the
current authorized_key list failed, so the key was added every
time, and the task was not idempotent.

Fix: Ensure the new key value has no extra newline. Use a simple
list `in` test to see if the new value is in the existing list.

Result: The task to write authorized_keys is idempotent.
Rich Megginson 2023-08-16 15:59:50 UTC Flags needinfo?(djez) needinfo?(jharuda) needinfo?(vdanek)
CC djez, jharuda, vdanek
Status ASSIGNED POST
Rich Megginson 2023-08-16 16:03:06 UTC Blocks 2232391
Red Hat One Jira (issues.redhat.com) 2023-08-16 16:05:01 UTC Link ID Red Hat Issue Tracker RHELPLAN-165879
Brian Smith 2023-08-16 19:14:33 UTC CC rmeggins
Flags needinfo?(briasmit) needinfo?(rmeggins)

Back to bug 2232241