SHA256
1
0
forked from pool/salt
Go to file
Klaus Kämpf 8bc8eaf64f Accepting request 370869 from systemsmanagement:saltstack:testing
- fix detection of base products in SLE11
  * 0030-Bugfix-on-SLE11-series-base-product-reported-as-addi.patch
- fix rpm info for SLE11
  * 0031-Only-use-LONGSIZE-in-rpm.info-if-available.-Otherwis.patch
  * 0032-Add-error-check-when-retcode-is-0-but-stderr-is-pres.patch
- fix init system detection for SLE11
  * 0033-fixing-init-system-dectection-on-sles-11-refs-31617.patch

- Re-add corrected patch:
  0029-Make-use-of-checksum-configurable-defaults-to-MD5-SH.patch

- Make checksum configurable (upstream still wants md5, we
  suggest sha256). bsc#955373
  Add:
  0029-Make-use-of-checksum-configurable-defaults-to-MD5-SH.patch

OBS-URL: https://build.opensuse.org/request/show/370869
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=62
2016-03-15 08:20:39 +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
0001-tserong-suse.com-We-don-t-have-python-systemd-so-not.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0002-Run-salt-master-as-dedicated-salt-user.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0003-Check-if-byte-strings-are-properly-encoded-in-UTF-8.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0004-Fix-pkg.latest-prevent-crash-on-multiple-package-ins.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0005-Fix-package-status-filtering-on-latest-version-and-i.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0006-add_key-reject_key-do-not-crash-w-Permission-denied-.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0007-Force-kill-websocket-s-child-processes-faster-than-d.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0008-Fix-types-in-the-output-data-and-return-just-a-list-.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0009-The-functions-in-the-state-module-that-return-a-retc.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0010-add-handling-for-OEM-products.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0011-improve-doc-for-list_pkgs.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0012-implement-version_cmp-for-zypper.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0013-pylint-changes.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0014-Check-if-rpm-python-can-be-imported.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0015-call-zypper-with-option-non-interactive-everywhere.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0016-write-a-zypper-command-builder-function.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0017-Fix-crash-with-scheduler-and-runners-31106.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0018-unify-behavior-of-refresh.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0019-add-refresh-option-to-more-functions.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0020-simplify-checking-the-refresh-paramater.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0021-do-not-change-kwargs-in-refresh-while-checking-a-val.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0022-fix-argument-handling-for-pkg.download.patch Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
0023-Initial-Zypper-Unit-Tests-and-bugfixes.patch Accepting request 365937 from systemsmanagement:saltstack 2016-03-07 12:27:38 +00:00
0024-proper-checking-if-zypper-exit-codes-and-handling-of.patch Accepting request 365937 from systemsmanagement:saltstack 2016-03-07 12:27:38 +00:00
0025-adapt-tests-to-new-zypper_check_result-output.patch Accepting request 365937 from systemsmanagement:saltstack 2016-03-07 12:27:38 +00:00
0026-do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch Accepting request 365937 from systemsmanagement:saltstack 2016-03-07 12:27:38 +00:00
0027-make-suse-check-consistent-with-rh_service.patch Accepting request 365937 from systemsmanagement:saltstack 2016-03-07 12:27:38 +00:00
0028-fix-numerical-check-of-osrelease.patch Accepting request 365937 from systemsmanagement:saltstack 2016-03-07 12:27:38 +00:00
0029-Make-use-of-checksum-configurable-defaults-to-MD5-SH.patch Accepting request 370869 from systemsmanagement:saltstack:testing 2016-03-15 08:20:39 +00:00
0030-Bugfix-on-SLE11-series-base-product-reported-as-addi.patch Accepting request 370869 from systemsmanagement:saltstack:testing 2016-03-15 08:20:39 +00:00
0031-Only-use-LONGSIZE-in-rpm.info-if-available.-Otherwis.patch Accepting request 370869 from systemsmanagement:saltstack:testing 2016-03-15 08:20:39 +00:00
0032-Add-error-check-when-retcode-is-0-but-stderr-is-pres.patch Accepting request 370869 from systemsmanagement:saltstack:testing 2016-03-15 08:20:39 +00:00
0033-fixing-init-system-dectection-on-sles-11-refs-31617.patch Accepting request 370869 from systemsmanagement:saltstack:testing 2016-03-15 08:20:39 +00:00
README.SUSE Accepting request 339485 from devel:languages:python 2015-10-19 20:52:40 +00:00
salt-2015.8.7.tar.gz Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
salt-tmpfiles.d Accepting request 339485 from devel:languages:python 2015-10-19 20:52:40 +00:00
salt.changes Accepting request 370869 from systemsmanagement:saltstack:testing 2016-03-15 08:20:39 +00:00
salt.spec Accepting request 370869 from systemsmanagement:saltstack:testing 2016-03-15 08:20:39 +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