SHA256
1
0
forked from pool/salt
Go to file
Klaus Kämpf 850dee1a06 Accepting request 514555 from systemsmanagement:saltstack:testing
- Update to 2017.7.0
  See https://docs.saltstack.com/en/develop/topics/releases/2017.7.0.html
  for full changelog
- fix ownership for whole master cache directory (bsc#1035914)
- fix setting the language on SUSE systems (bsc#1038855)
- wrong os_family grains on SUSE - fix unittests (bsc#1038855)
- speed-up cherrypy by removing sleep call
- Disable 3rd party runtime packages to be explicitly recommended.
  (bsc#1040886)
- fix format error (bsc#1043111)
- Add a salt-minion watchdog for RHEL6 and SLES11 systems (sysV)
  to restart salt-minion in case of crashes during upgrade.
- Add procps as dependency.
- Bugfix: jobs scheduled to run at a future time stay
  pending for Salt minions (bsc#1036125)
- All current patches has been removed as they were added upstream:
  * add-a-salt-minion-service-control-file.patch
  * add-options-for-dockerng.patch
  * add-ssh-option-to-salt-ssh.patch
  * add-unit-test-for-skip-false-values-from-preferred_i.patch
  * add-yum-plugin.patch
  * add-zypp-notify-plugin.patch
  * adding-support-for-installing-patches-in-yum-dnf-exe.patch
  * avoid-failures-on-sles-12-sp2-because-of-new-systemd.patch
  * bugfix-unable-to-use-127-as-hostname.patch
  * change-travis-configuration-file-to-use-salt-toaster.patch
  * check-if-byte-strings-are-properly-encoded-in-utf-8.patch
  * clean-up-change-attribute-from-interface-dict.patch
  * do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch
  * fix-grain-for-os_family-on-suse-series.patch

OBS-URL: https://build.opensuse.org/request/show/514555
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=90
2017-08-04 12:51:31 +00:00
.gitattributes Accepting request 175205 from devel:languages:python 2013-05-16 09:38:22 +00:00
.gitignore Accepting request 175205 from devel:languages:python 2013-05-16 09:38:22 +00:00
html.tar.bz2 Accepting request 514555 from systemsmanagement:saltstack:testing 2017-08-04 12:51:31 +00:00
README.SUSE Accepting request 339485 from devel:languages:python 2015-10-19 20:52:40 +00:00
salt-tmpfiles.d Accepting request 339485 from devel:languages:python 2015-10-19 20:52:40 +00:00
salt.changes Accepting request 514555 from systemsmanagement:saltstack:testing 2017-08-04 12:51:31 +00:00
salt.spec Accepting request 514555 from systemsmanagement:saltstack:testing 2017-08-04 12:51:31 +00:00
travis.yml Accepting request 438684 from systemsmanagement:saltstack:testing 2016-11-06 11:48:16 +00:00
update-documentation.sh Accepting request 514555 from systemsmanagement:saltstack:testing 2017-08-04 12:51:31 +00:00
v2017.7.0.tar.gz Accepting request 514555 from systemsmanagement:saltstack:testing 2017-08-04 12:51:31 +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