SHA256
1
0
forked from pool/salt
Go to file
Jochen Breuer 0aa0223de4 Accepting request 601028 from systemsmanagement:saltstack:testing
- Fix minion scheduler to return a 'retcode' attribute (bsc#1089112)
- Fix for logging during network interface querying (bsc#1087581)
- Fix rhel packages requires both net-tools and iproute (bsc#1087055)
- Added:
  * initialize-__context__-retcode-for-functions-handled.patch
- Modified:
  * fix-for-errno-0-resolver-error-0-no-error-bsc-108758.patch

                                                                                    
- Fix patchinstall on yum module. Bad comparison (bsc#1087278)
- Added:
  * provide-kwargs-to-pkg_resource.parse_targets-require.patch

                                                                                    
- Strip trailing commas on Linux user's GECOS fields (bsc#1089362)
- Fallback to PyMySQL (bsc#1087891)
- Improved test for fqdns
- Update SaltSSH patch
- Fix for [Errno 0] Resolver Error 0 (no error) (bsc#1087581)
  * Lintfix: PEP8 ident
  * Use proper levels of the error handling, use proper log formatting.
  * Fix unit test for reversed fqdns return data
- Added:
  * strip-trailing-commas-on-linux-user-gecos-fields.patch
  * fall-back-to-pymysql.patch
  * fix-for-errno-0-resolver-error-0-no-error-bsc-108758.patch
- Modified:
  * add-saltssh-multi-version-support-across-python-inte.patch

OBS-URL: https://build.opensuse.org/request/show/601028
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=119
2018-04-30 12:06:44 +00:00
_lastrevision Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
_service Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
.gitattributes Accepting request 541865 from systemsmanagement:saltstack:products:unstable.py3 2017-11-16 09:11:11 +00:00
.gitignore Accepting request 175205 from devel:languages:python 2013-05-16 09:38:22 +00:00
activate-all-beacons-sources-config-pillar-grains.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
add-saltssh-multi-version-support-across-python-inte.patch Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
avoid-excessive-syslogging-by-watchdog-cronjob-58.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
explore-module.run-response-to-catch-the-result-in-d.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
fall-back-to-pymysql.patch Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
feat-add-grain-for-all-fqdns.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
fix-bsc-1065792.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
fix-cp.push-empty-file.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
fix-decrease-loglevel-when-unable-to-resolve-addr.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
fix-for-errno-0-resolver-error-0-no-error-bsc-108758.patch Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
fix-openscap-push.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
html.tar.bz2 Accepting request 569868 from systemsmanagement:saltstack:testing 2018-01-26 13:46:21 +00:00
initialize-__context__-retcode-for-functions-handled.patch Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
make-it-possible-to-use-login-pull-and-push-from-mod.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
move-log_file-option-to-changeable-defaults.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
provide-kwargs-to-pkg_resource.parse_targets-require.patch Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
README.SUSE Accepting request 541865 from systemsmanagement:saltstack:products:unstable.py3 2017-11-16 09:11:11 +00:00
remove-obsolete-unicode-handling-in-pkg.info_install.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
run-salt-api-as-user-salt-bsc-1064520.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
run-salt-master-as-dedicated-salt-user.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
salt-tmpfiles.d Accepting request 541865 from systemsmanagement:saltstack:products:unstable.py3 2017-11-16 09:11:11 +00:00
salt.changes Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
salt.spec Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
strip-trailing-commas-on-linux-user-gecos-fields.patch Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
travis.yml Accepting request 541865 from systemsmanagement:saltstack:products:unstable.py3 2017-11-16 09:11:11 +00:00
update-documentation.sh Accepting request 569868 from systemsmanagement:saltstack:testing 2018-01-26 13:46:21 +00:00
v2018.3.0.tar.gz Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00

Salt-master as non-root user
============================

With this version of salt the salt-master will run as salt user.

Why an extra user
=================

While the current setup runs the master as root user, this is considered a security issue
and not in line with the other configuration management tools (eg. puppet) which runs as a
dedicated user. 

How can I undo the change
=========================

If you would like to make the change before you can do the following steps manually:
1. change the user parameter in the master configuration
   user: root
2. update the file permissions:
   as root: chown -R root /etc/salt /var/cache/salt /var/log/salt /var/run/salt
3. restart the salt-master daemon:
   as root: rcsalt-master restart or systemctl restart salt-master

NOTE
====

Running the salt-master daemon as a root user is considers by some a security risk, but
running as root, enables the pam external auth system, as this system needs root access to check authentication.

For more information:
http://docs.saltstack.com/en/latest/ref/configuration/nonroot.html