Accepting request 681639 from Base:System

OBS-URL: https://build.opensuse.org/request/show/681639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rsyslog?expand=0&rev=143
This commit is contained in:
Stephan Kulow 2019-03-10 08:30:42 +00:00 committed by Git OBS Bridge
commit 6098eb2bd1
3 changed files with 18 additions and 11 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 22 11:47:22 UTC 2019 - Thomas.Blume@suse.com
- set default permissions before include directives (bsc#1126233)
* Logfile open modes depend on position in the config file, see
https://www.rsyslog.com/doc/rsconf1_filecreatemode.html
-------------------------------------------------------------------
Wed Nov 21 15:49:02 UTC 2018 - Enno Gotthold <egotthold@suse.com>

View File

@ -35,6 +35,15 @@ $ModLoad imklog.so
# set log level 1 (same as in /etc/sysconfig/syslog).
$klogConsoleLogLevel 1
#
# Set the default permissions for all log files.
#
$FileOwner root
$FileGroup root
$FileCreateMode 0640
$DirCreateMode 0750
$Umask 0022
# Use rsyslog native, rfc5424 conform log format as default
# ($ActionFileDefaultTemplate RSYSLOG_FileFormat).
#
@ -59,15 +68,6 @@ $IncludeConfig ADDITIONAL_SOCKETS
#
$IncludeConfig ETC_RSYSLOG_D_GLOB
#
# Set the default permissions for all log files.
#
$FileOwner root
$FileGroup root
$FileCreateMode 0640
$DirCreateMode 0750
$Umask 0022
###
# print most important on tty10 and on the xconsole pipe
#

View File

@ -1,7 +1,7 @@
#
# spec file for package rsyslog
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#