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

omusrmsg:* replaced with * even if newer rsyslog installed #115

Open
docwhat opened this issue Aug 15, 2016 · 0 comments
Open

omusrmsg:* replaced with * even if newer rsyslog installed #115

docwhat opened this issue Aug 15, 2016 · 0 comments

Comments

@docwhat
Copy link
Contributor

docwhat commented Aug 15, 2016

Cookbook version

4.0.1

Chef-client version

12.18.30

Platform Details

CentOS 5.11

Scenario:

I have a cookbook that gets the packages for the latest version of rsyslogd. So even though I'm running CentOS 5.11, I have rsyslogd version 8.

However, this code isn't detecting if rsyslog can use :omusrmsg:* and is instead checking only the OSes.

rsyslogd v8 doesn't support *, which causes the -N1 check to fail and logging not to be sent to users.

There was a changelog entry for cookbook v2.1.0 that implied it was checking the rsyslogd version, but that doesn't seem to be the case:

Change emerg to log to :omusrmsg:_ vs. _ on modern rsyslog releases to avoid deprecation warnings

Steps to Reproduce:

In a CentOS 5.11 box, add the official rsyslogd yum repository and install rsyslog 8.

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

3 participants