Bug 1083016

Summary: Augeas cannot parse default /etc/rsyslog.conf
Product: Red Hat Enterprise Linux 6 Reporter: Lingfei Kong <lkong>
Component: augeasAssignee: Dominic Cleal <dcleal>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5CC: huzhan, leiwang, lkong, npiace, wshi, yuliu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: augeas-1.0.0-6.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1138402 (view as bug list) Environment:
Last Closed: 2014-10-14 07:15:49 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: 1138402    
Attachments:
Description Flags
File: /etc/rsyslog.conf none

Description Lingfei Kong 2014-04-01 10:29:55 UTC
Created attachment 881276 [details]
File: /etc/rsyslog.conf

Description of problem:
Augeas cannot parse default /etc/rsyslog.conf

Version-Release number of selected component (if applicable):
augeas-1.0.0-5.el6_5.1
kernel-2.6.32-431.el6


How reproducible: 
100%


Steps to Reproduce:
1. Install the following packages:
rsyslog-5.8.10-8.el6

2. Run command: echo 'print /augeas//error' | augtool
# echo 'print /augeas//error'|augtool

Actual results:
# echo 'print /augeas//error'|augtool
/augeas/files/etc/rsyslog.conf/error = "parse_failed"
/augeas/files/etc/rsyslog.conf/error/pos = "2943"
/augeas/files/etc/rsyslog.conf/error/line = "83"
/augeas/files/etc/rsyslog.conf/error/char = "0"
/augeas/files/etc/rsyslog.conf/error/lens = "/usr/share/augeas/lenses/dist/rsyslog.aug:30.10-.57:"
/augeas/files/etc/rsyslog.conf/error/message = "Get did not match entire input"


Expected results:
no errors


Additional info:

Comment 5 Lingfei Kong 2014-06-04 09:03:00 UTC
Verified with augeas-1.0.0-6.el6

Steps to verify:
1. Install the following packages:
rsyslog-5.8.10-8.el6

2. #augtool  print /augeas/files/etc/rsyslog.conf/error
<no output>

parse successfully, so bug is fixed

Comment 6 errata-xmlrpc 2014-10-14 07:15:49 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.

http://rhn.redhat.com/errata/RHBA-2014-1517.html