Set the default service umask to 0066

Resolves: rhbz#1228192
This commit is contained in:
Tomas Heinrich 2015-06-26 17:35:46 +02:00
parent f95edcfc95
commit cfc75996d4
2 changed files with 4 additions and 1 deletions

View File

@ -1,13 +1,14 @@
diff -up rsyslog-7.4.1/rsyslog.service.in.orig rsyslog-7.4.1/rsyslog.service.in 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.orig 2013-06-17 15:28:54.430023493 +0200
+++ rsyslog-7.4.1/rsyslog.service.in 2013-06-17 15:30:05.874378084 +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] [Service]
Type=notify Type=notify
-ExecStart=@sbindir@/rsyslogd -n -ExecStart=@sbindir@/rsyslogd -n
+EnvironmentFile=-/etc/sysconfig/rsyslog +EnvironmentFile=-/etc/sysconfig/rsyslog
+ExecStart=@sbindir@/rsyslogd -n $SYSLOGD_OPTIONS +ExecStart=@sbindir@/rsyslogd -n $SYSLOGD_OPTIONS
+UMask=0066
StandardOutput=null StandardOutput=null
Restart=on-failure Restart=on-failure

View File

@ -504,6 +504,8 @@ done
resolves: rhbz#1224972 resolves: rhbz#1224972
- make logrotate tolerate missing log files - make logrotate tolerate missing log files
resolves: rhbz#1205889 resolves: rhbz#1205889
- set the default service umask to 0066
resolves: rhbz#1228192
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.8.0-4 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.8.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild