CentOS rsyslog bug

Bug #1807268 reported by Satish Patel
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
James Denton

Bug Description

I running Queens on CentOS 7.x and when i looked at Rsyslog config and found this.

My /var/log/messages file was empty and this is critical file because all kernel related and hardware related issues go here and we have monitoring system look for event to find out any issue.

=> /etc/rsyslog.d/50-default.conf

auth,authpriv.* /var/log/auth.log
*.*;local7,auth,authpriv,cron,daemon,mail,news.none -/var/log/syslog <--- wrong

CentOS doesn't use /var/log/syslog file, this should be /var/log/messages.

=> /etc/rsyslog.conf

#
# Set the default permissions for all log files.
#
$FileOwner syslog
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$Umask 0022
$PrivDropToUser syslog <--- I have to remove this line to make it work
$PrivDropToGroup syslog <--- I have to remove this line to make it work

Tags: queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-rsyslog_client (master)

Fix proposed to branch: master
Review: https://review.openstack.org/624805

Changed in openstack-ansible:
assignee: nobody → James Denton (james-denton)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-rsyslog_client (master)

Reviewed: https://review.openstack.org/624805
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-rsyslog_client/commit/?id=70be33495fc9479432f42fe2a432a7e45b348ea1
Submitter: Zuul
Branch: master

commit 70be33495fc9479432f42fe2a432a7e45b348ea1
Author: James Denton <email address hidden>
Date: Wed Dec 12 20:32:54 2018 +0000

    Templatize rsyslog configuration files

    This patch differentiates rsyslogd configurations based on operating system
    by defining respective system logfile location and user/group.

    Change-Id: If5134278f7aa5e726325be38bb0bf8a560b668e5
    Closes-Bug: #1807268

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-rsyslog_client stein-eol

This issue was fixed in the openstack/openstack-ansible-rsyslog_client stein-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-rsyslog_client train-eol

This issue was fixed in the openstack/openstack-ansible-rsyslog_client train-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-rsyslog_client ussuri-eol

This issue was fixed in the openstack/openstack-ansible-rsyslog_client ussuri-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-rsyslog_client yoga-eom

This issue was fixed in the openstack/openstack-ansible-rsyslog_client yoga-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-rsyslog_client victoria-eom

This issue was fixed in the openstack/openstack-ansible-rsyslog_client victoria-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-rsyslog_client wallaby-eom

This issue was fixed in the openstack/openstack-ansible-rsyslog_client wallaby-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-rsyslog_client xena-eom

This issue was fixed in the openstack/openstack-ansible-rsyslog_client xena-eom release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.