Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Augeas didn't load /etc/rsyslog.conf with Rsyslog.lns from /var/lib/puppet/lib/augeas/lenses: Get did not match entire input (line:40, character:0) #5

Open
flyinbutrs opened this issue Nov 9, 2016 · 2 comments

Comments

@flyinbutrs
Copy link

flyinbutrs commented Nov 9, 2016

I am getting errors on ubuntu 14.04 LTS trying to edit rsyslog...

augtool> ls /augeas/files/etc/rsyslog.conf/error/
pos = 966
line = 40
char = 0
lens = /usr/share/augeas/lenses/dist/rsyslog.aug:45.10-.57:
message = Get did not match entire input

The line that it's choking on is this:

*.* @@127.0.0.1:1514;RSYSLOG_FileFormat

With context:

# Filter duplicated messages
$RepeatedMsgReduction on
*.* @@127.0.0.1:1514;RSYSLOG_FileFormat

Any ideas? To my knowledge, this is a package default file.

EDIT: This line is not stock, it's added for according to Alertlogic's documentation, which lists exactly that line.

@raphink
Copy link
Member

raphink commented Jan 11, 2017

Thank you for the report. I can confirm that the current Augeas lens cannot parse this line.

It can however parse:

*.* @@127.0.0.1:1514

so the problem seems to be the ;RSYSLOG_FileFormat bit.

@raphink
Copy link
Member

raphink commented Jan 11, 2017

Please open an issue against the Augeas project for this. I personnaly don't know rsyslog templates, so I'm not sure what this ;RSYSLOG_FileFormat bit does and how it should be parsed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants