forked from pool/cloud-init
29 lines
968 B
Diff
29 lines
968 B
Diff
|
From 28167e24ae4a0e744103a71061474836dc6a9559 Mon Sep 17 00:00:00 2001
|
||
|
From: Robert Schweikert <rjschwei@suse.com>
|
||
|
Date: Tue, 13 Feb 2018 14:28:51 -0500
|
||
|
Subject: [PATCH] - Set syslog_fix_perms for SUSE distro, addresses bsc#1080595
|
||
|
+ Avoid using the default configuration for syslog ownership the neither
|
||
|
"adm" nor "wheel" groups are part of the default config on SUSE distros
|
||
|
|
||
|
---
|
||
|
config/cloud.cfg.tmpl | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
|
||
|
index 32de9c9b..3ab681ee 100644
|
||
|
--- a/config/cloud.cfg.tmpl
|
||
|
+++ b/config/cloud.cfg.tmpl
|
||
|
@@ -5,6 +5,9 @@
|
||
|
{% if variant in ["freebsd"] %}
|
||
|
syslog_fix_perms: root:wheel
|
||
|
{% endif %}
|
||
|
+{% if variant in ["suse"] %}
|
||
|
+syslog_fix_perms: root:adm
|
||
|
+{% endif %}
|
||
|
# A set of users which may be applied and/or used by various modules
|
||
|
# when a 'default' entry is found it will reference the 'default_user'
|
||
|
# from the distro configuration specified below
|
||
|
--
|
||
|
2.13.6
|
||
|
|