From cfc75996d4ba45fa8b1f36e0caa91a409c286e8b Mon Sep 17 00:00:00 2001 From: Tomas Heinrich Date: Fri, 26 Jun 2015 17:35:46 +0200 Subject: [PATCH] Set the default service umask to 0066 Resolves: rhbz#1228192 --- rsyslog-8.8.0-sd-service.patch | 3 ++- rsyslog.spec | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/rsyslog-8.8.0-sd-service.patch b/rsyslog-8.8.0-sd-service.patch index d1de179..554d92b 100644 --- a/rsyslog-8.8.0-sd-service.patch +++ b/rsyslog-8.8.0-sd-service.patch @@ -1,13 +1,14 @@ diff -up rsyslog-7.4.1/rsyslog.service.in.orig rsyslog-7.4.1/rsyslog.service.in --- rsyslog-7.4.1/rsyslog.service.in.orig 2013-06-17 15:28:54.430023493 +0200 +++ rsyslog-7.4.1/rsyslog.service.in 2013-06-17 15:30:05.874378084 +0200 -@@ -6,7 +6,8 @@ Requires=syslog.socket +@@ -6,7 +6,9 @@ Requires=syslog.socket [Service] Type=notify -ExecStart=@sbindir@/rsyslogd -n +EnvironmentFile=-/etc/sysconfig/rsyslog +ExecStart=@sbindir@/rsyslogd -n $SYSLOGD_OPTIONS ++UMask=0066 StandardOutput=null Restart=on-failure diff --git a/rsyslog.spec b/rsyslog.spec index 5ce6ce4..e7b0114 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -504,6 +504,8 @@ done resolves: rhbz#1224972 - make logrotate tolerate missing log files resolves: rhbz#1205889 +- set the default service umask to 0066 + resolves: rhbz#1228192 * Thu Jun 18 2015 Fedora Release Engineering - 8.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild