Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1139298

Summary: Augeas cannot parse or set 'ssh' in kdump.conf
Product: Red Hat Enterprise Linux 7 Reporter: Ryan Barry <rbarry>
Component: augeasAssignee: Dominic Cleal <dcleal>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 7.1CC: bkearney, fdeutsch, jkurik, leiwang, lkong
Target Milestone: rcKeywords: ZStream
Target Release: 7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: augeas-1.1.0-14.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1181280 (view as bug list) Environment:
Last Closed: 2015-03-05 09:25:48 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: 1175854, 1175856, 1180371, 1181280    

Description Ryan Barry 2014-09-08 15:10:58 UTC
Description of problem:
Augeas cannot parse or set 'ssh' in kdump.conf

Version-Release number of selected component (if applicable):
augeas-1.1.0-12.el7

How reproducible:
Always

Steps to Reproduce:
1. Try to set "/files/etc/kdump.conf/ssh any_value"
2. Unable to save

Actual results:
print /augeas//error
/augeas/files/etc/kdump.conf/error = "put_failed"
/augeas/files/etc/kdump.conf/error/path = "/files/etc/kdump.conf"
/augeas/files/etc/kdump.conf/error/lens "/usr/share/augeas/lenses/dist/kdump.cug:71.10-.39"
/augeas/files/etc/kdump.conf/error/message = "Malformed child node 'ssh'"

Expected results:
augeas works with 'ssh' parameters to kdump.conf

Additional info:
This is passable with the 'net' options, but 'net' is deprecated. 'nfs' has been replaced in augeas, but 'ssh' does not work.

Comment 2 Dominic Cleal 2014-09-09 10:23:02 UTC
Fixed in 0951590, a8d43f6

Comment 4 Ryan Barry 2014-09-28 16:00:46 UTC
Requesting a backport to 7.0.z

kdumpctl refuses to propagate with "net" in RHEL7. "ssh" must be set.

Comment 6 jiyu 2014-10-13 02:28:40 UTC
Verified with augeas-1.1.0-16.el7.x86_64

Steps to verify:
1. Add line "ssh any_value" to file /etc/kdump.conf

2. #echo 'print /augeas//error'|augtool
<no output>

parse successfully, so bug is fixed

Comment 7 Ryan Barry 2015-01-09 18:12:58 UTC
If possible, a Z-stream clone to 7.0 would be great.

Comment 11 errata-xmlrpc 2015-03-05 09:25:48 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://rhn.redhat.com/errata/RHBA-2015-0399.html