- Changed the default /etc/rsyslog.conf we install to not use

multiple facilities with the same priority pattern in one
  statement using the comma operator. This started to cause a
  start failure with rsyslog-6.4.x (bnc#780607) and seems to
  be a bug in rsyslog (upstream verify in progress).

OBS-URL: https://build.opensuse.org/package/show/Base:System/rsyslog?expand=0&rev=96
This commit is contained in:
2012-09-21 08:39:27 +00:00
committed by Git OBS Bridge
parent 139c655777
commit 1dc062119a
3 changed files with 22 additions and 4 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Sep 21 08:09:46 UTC 2012 - mt@suse.com
- Changed the default /etc/rsyslog.conf we install to not use
multiple facilities with the same priority pattern in one
statement using the comma operator. This started to cause a
start failure with rsyslog-6.4.x (bnc#780607) and seems to
be a bug in rsyslog (upstream verify in progress).
-------------------------------------------------------------------
Thu Sep 20 21:39:48 UTC 2012 - andreas.stieger@gmx.de

View File

@@ -158,9 +158,9 @@ news.notice -/var/log/news/news.notice
#
# Some foreign boot scripts require local7
#
local0,local1.* -/var/log/localmessages
local2,local3.* -/var/log/localmessages
local4,local5.* -/var/log/localmessages
local6,local7.* -/var/log/localmessages
local0.*,local1.* -/var/log/localmessages
local2.*,local3.* -/var/log/localmessages
local4.*,local5.* -/var/log/localmessages
local6.*,local7.* -/var/log/localmessages
###

View File

@@ -499,6 +499,15 @@ if test "$replace_syslog" = "yes" ; then
etc/sysconfig/syslog
fi
#
# Do not use multiple facilities with the same priority pattern.
# It causes start failure since rsyslog-6.4.x (bnc#780607).
#
# FIXME: it seems to be a valid syntax -> rsyslog bug?
#
if grep -qs '^local[0246],' etc/rsyslog.conf ; then
sed -i -e 's/^local\([0246]\),/local\1.*,/g' etc/rsyslog.conf
fi
#
# create dirs, touch log default files
#
mkdir -p var/log