Bug 1129508

Summary: Augeas cannot parse /etc/rsyslog.conf with TCP hosts
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: high Docs Contact:
Priority: unspecified    
Version: 6.6CC: cfeller, dcleal, huzhan, leiwang, rbarry, virt-bugs, wshi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: augeas-1.0.0-8.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1129386 Environment:
Last Closed: 2015-07-22 05:40:54 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: 1129386    
Bug Blocks:    

Comment 1 Lingfei Kong 2014-08-13 02:15:42 UTC
Can reproduce with augeas-1.0.0-7.el6

Comment 3 Bryan Kearney 2014-11-03 19:48:16 UTC
Moving bugs to 6.7

Comment 4 Bryan Kearney 2014-11-03 19:49:15 UTC
Moving bugs to 6.7

Comment 5 Bryan Kearney 2014-11-03 19:54:02 UTC
Moving bugs to 6.7

Comment 8 Hu Zhang 2015-03-03 09:04:57 UTC
Reproduced with augeas-1.0.0-7.el6.x86_64.

Verified with the package:
augeas-1.0.0-8.el6.x86_64

Steps to verify:
1. Add the following line to /etc/rsyslog.conf

*.* @@10.x.x.x:5444

2. # augtool print /augeas/files/etc/rsyslog.conf/error
Nothing returned.
   # augtool print /files/etc/rsyslog.conf
...
/files/etc/rsyslog.conf/entry[8]
/files/etc/rsyslog.conf/entry[8]/selector
/files/etc/rsyslog.conf/entry[8]/selector/facility = "*"
/files/etc/rsyslog.conf/entry[8]/selector/level = "*"
/files/etc/rsyslog.conf/entry[8]/action
/files/etc/rsyslog.conf/entry[8]/action/protocol = "@@"
/files/etc/rsyslog.conf/entry[8]/action/hostname = "10.x.x.x"
/files/etc/rsyslog.conf/entry[8]/action/port = "5444"

No parse error returned.
So verified.

Comment 11 errata-xmlrpc 2015-07-22 05:40:54 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-1256.html