Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Bug 2232392
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh89 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
Bug 2232392
-
kdump system role fails if kdump_ssh_user doesn't have a .ssh/authorized_keys file in home directory
[NEEDINFO]
Summary:
kdump system role fails if kdump_ssh_user doesn't have a .ssh/authorized_keys...
Keywords
:
Triaged
Status
:
POST
Alias:
None
Product:
Red Hat Enterprise Linux 8
Classification:
Red Hat
Component:
rhel-system-roles
Sub Component:
---
Version:
8.9
Hardware:
Unspecified
OS:
Unspecified
Priority:
unspecified
Severity:
unspecified
Target Milestone:
rc
Target Release
:
8.9
Assignee:
Rich Megginson
QA Contact:
CS System Management SST QE
Docs Contact:
URL:
Whiteboard:
role:kdump
Depends On:
2232231
Blocks:
TreeView+
depends on
/
blocked
Reported:
2023-08-16 16:04 UTC by
Rich Megginson
Modified:
2023-08-16 17:41 UTC (
History
)
CC List:
6 users
(
show
)
briasmit
djez
jharuda
rhel-cs-system-management-subsystem-qe
spetrosi
vdanek
Fixed In Version:
Doc Type:
Bug Fix
Doc Text:
Cause: The evaluation of `__kdump_authorized_keys is defined` was happening after the evaluation of `(__kdump_authorized_keys.content ...)`. I guess the parentheses cause the evaluation to happen first, regardless of the `if` conditional. Consequence: If authorized_keys were not found, the role would attempt to evaluate the undefined `__kdump_authorized_keys` and fail. Fix: Use the `defined` filter `d` with `__kdump_authorized_keys` to define the value as an empty line, and omit the `if` clause. Result: The role does not fail if authorized_keys are missing. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
Clone Of:
2232231
Environment:
Last Closed:
Type:
Bug
Target Upstream Version:
Embargoed:
Dependent Products:
Container Native Virtualization (CNV)
Ember-CSI
ExternalDNS Operator for OpenShift Container Platform
Kubernetes-native Infrastructure
OpenShift Container Platform
Red Hat Ceph Storage
Red Hat Certificate System
Red Hat CloudForms Management Engine
Red Hat Directory Server
Red Hat Enterprise MRG
Red Hat Enterprise Virtualization Manager
Red Hat Gluster Storage
Red Hat OpenShift Data Foundation
Red Hat OpenStack
Service Telemetry Framework
Flags:
rmeggins
: needinfo? (
djez
)
rmeggins
: needinfo? (
jharuda
)
rmeggins
: needinfo? (
vdanek
)
Attachments
(Terms of Use)
Links
System
ID
Private
Priority
Status
Summary
Last Updated
Red Hat Issue Tracker
RHELPLAN-165931
0
None
None
None
2023-08-16 17:41:43 UTC
Note
You need to
log in
before you can comment on or make changes to this bug.