Accepting request 678225 from home:tsaupe:branches:Base:System:rsyslog-bsc1126233
set default permissions before include directives (bsc#1126233) OBS-URL: https://build.opensuse.org/request/show/678225 OBS-URL: https://build.opensuse.org/package/show/Base:System/rsyslog?expand=0&rev=305
This commit is contained in:
parent
90204f8a65
commit
31c71eb89b
@ -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>
|
||||
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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/
|
||||
#
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user