summaryrefslogtreecommitdiff
path: root/cloudinit/settings.py
diff options
context:
space:
mode:
authorRobert Schweikert <rjschwei@suse.com>2018-09-17 13:07:39 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2018-09-17 13:07:39 +0000
commitc714651c1988a17f457426de63cdb8514d5a81b4 (patch)
tree82b58290dec7210423c4f9c62b48fe4542faf781 /cloudinit/settings.py
parent37078046cb191234982d95ad4876af4ed8f862f4 (diff)
downloadvyos-cloud-init-c714651c1988a17f457426de63cdb8514d5a81b4.tar.gz
vyos-cloud-init-c714651c1988a17f457426de63cdb8514d5a81b4.zip
Fall back to root:root on syslog permissions if other options fail.
If the user has removed the default configuration file or does not set the syslog_fix_perms config option the user still ends up with a warning on SUSE distributions. Add root:root to the default builtin config.
Diffstat (limited to 'cloudinit/settings.py')
-rw-r--r--cloudinit/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/settings.py b/cloudinit/settings.py
index ea367cb7..b1ebaade 100644
--- a/cloudinit/settings.py
+++ b/cloudinit/settings.py
@@ -44,7 +44,7 @@ CFG_BUILTIN = {
],
'def_log_file': '/var/log/cloud-init.log',
'log_cfgs': [],
- 'syslog_fix_perms': ['syslog:adm', 'root:adm', 'root:wheel'],
+ 'syslog_fix_perms': ['syslog:adm', 'root:adm', 'root:wheel', 'root:root'],
'system_info': {
'paths': {
'cloud_dir': '/var/lib/cloud',