bbe3fe8f72
- Update patches - Modified: * run-salt-master-as-dedicated-salt-user.patch * run-salt-api-as-user-salt-bsc-1064520.patch * fix-openscap-push.patch * fix-cp.push-empty-file.patch * avoid-excessive-syslogging-by-watchdog-cronjob-58.patch * feat-add-grain-for-all-fqdns.patch * fix-bsc-1065792.patch * move-log_file-option-to-changeable-defaults.patch * activate-all-beacons-sources-config-pillar-grains.patch * remove-obsolete-unicode-handling-in-pkg.info_install.patch - Removed: * salt-ssh-fix-json-load-of-return-data-when-it-contai.patch ------------------------------------------------------------------- - Update cp.push patch - Modified: * fix-cp.push-empty-file.patch * salt-ssh-fix-json-load-of-return-data-when-it-contai.patch - force re-generate a new thin.tgz when an update gets installed - fix salt-ssh with a different patch - remove: dumps-should-return-unicode-also-with-py2-to-prevent.patch - added: salt-ssh-fix-json-load-of-return-data-when-it-contai.patch - Added: OBS-URL: https://build.opensuse.org/request/show/586784 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=115
26 lines
587 B
Diff
26 lines
587 B
Diff
From ff376d2811248384e3a41e69404d2c66affd5279 Mon Sep 17 00:00:00 2001
|
|
From: Christian Lanig <clanig@suse.com>
|
|
Date: Mon, 27 Nov 2017 13:10:26 +0100
|
|
Subject: [PATCH] Run salt-api as user salt (bsc#1064520)
|
|
|
|
---
|
|
pkg/salt-api.service | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/pkg/salt-api.service b/pkg/salt-api.service
|
|
index 7ca582dfb4..bf513e4dbd 100644
|
|
--- a/pkg/salt-api.service
|
|
+++ b/pkg/salt-api.service
|
|
@@ -6,6 +6,7 @@ After=network.target
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=all
|
|
+User=salt
|
|
LimitNOFILE=8192
|
|
ExecStart=/usr/bin/salt-api
|
|
TimeoutStopSec=3
|
|
--
|
|
2.16.2
|
|
|
|
|