Go to file
Dominique Leuenberger 1592ccc37e Accepting request 361294 from systemsmanagement:saltstack
- fix argument handling of pkg.download
  Add: 0022-fix-argument-handling-for-pkg.download.patch

- unify behavior of zypper refresh in salt
  Add: 0018-unify-behavior-of-refresh.patch
       0019-add-refresh-option-to-more-functions.patch
       0020-simplify-checking-the-refresh-paramater.patch
       0021-do-not-change-kwargs-in-refresh-while-checking-a-val.patch

- Fix crash with scheduler and runners
  Add: 0017-Fix-crash-with-scheduler-and-runners-31106.patch

- Call zypper always with --non-interactive
  Add:
  * 0015-call-zypper-with-option-non-interactive-everywhere.patch
  * 0016-write-a-zypper-command-builder-function.patch

- require rpm-python on SUSE for zypper support

- fix state return code
  Add: 0009-The-functions-in-the-state-module-that-return-a-retc.patch
- add handling of OEM products to pkg.list_products
  Add: 0010-add-handling-for-OEM-products.patch
- improve doc for list_pkgs
  Add: 0011-improve-doc-for-list_pkgs.patch
- implement pkg.version_cmp in zypper.py
  Add:
  * 0012-implement-version_cmp-for-zypper.patch
  * 0013-pylint-changes.patch
  * 0014-Check-if-rpm-python-can-be-imported.patch

- Update to 2015.8.7
  this is a small update to fix some regressions
  see https://docs.saltstack.com/en/latest/topics/releases/2015.8.7.html

- Booleans should not be strings from XML, add Unix ticks time and
  format result in a list of maps.
  Add:
  * 0008-Fix-types-in-the-output-data-and-return-just-a-list-.patch

- Stop salt-api daemon faster (bsc#963322)
  Add:
  * 0007-Force-kill-websocket-s-child-processes-faster-than-d.patch

- Do not crash on salt-key reject/delete consecutive calls.
  Add:
  * 0006-add_key-reject_key-do-not-crash-w-Permission-denied-.patch

- Update to 2015.8.5
  See https://docs.saltstack.com/en/latest/topics/releases/2015.8.5.html
  Dropped patches (all upstream):
  * 0003-List-products-consistently-across-all-SLES-systems.patch
  * 0004-Add-missing-return-data-to-scheduled-jobs.patch
  * 0005-Fix-RPM-issues-with-the-date-time-and-add-package-at.patch
  * 0006-Bugfix-info_available-does-not-work-correctly-on-SLE.patch
  Renamed patches:
  * 0007-Check-if-byte-strings-are-properly-encoded-in-UTF-8.patch
    -> 0003-Check-if-byte-strings-are-properly-encoded-in-UTF-8.patch
  * 0008-Fix-pkg.latest-prevent-crash-on-multiple-package-ins.patch
    -> 0004-Fix-pkg.latest-prevent-crash-on-multiple-package-ins.patch
  * 0009-Fix-package-status-filtering-on-latest-version-and-i.patch
    -> 0005-Fix-package-status-filtering-on-latest-version-and-i.patch
- Update to 2015.8.4
  See https://docs.saltstack.com/en/latest/topics/releases/2015.8.4.html

- Fix latest version available comparison and implement epoch
  support in Zypper module.
  Add:
  * 0009-Fix-package-status-filtering-on-latest-version-and-i.patch

- Update patch from opensuse to upstream version.
  Update:
  * 0008-Fix-pkg.latest-prevent-crash-on-multiple-package-ins.patch

- Fix dependencies to Salt subpackages requiring release along the
  version.

- Fix pkg.latest crash.
- Fix pkg.latest SLS ID bug, when pkgs empty list is passed,
  but SLS ID still treated as a package name.
  Add:
  * 0008-Fix-pkg.latest-prevent-crash-on-multiple-package-ins.patch

- Drop:
  * -0004-zypper-check-package-header-content-for-valid-utf-8.patch
- Rename:
  * -0004-zypper-check-package-header-content-for-valid-utf-8.patch
    +0004-Add-missing-return-data-to-scheduled-jobs.patch
  * -0005-Add-missing-return-data-to-scheduled-jobs.patch
    +0004-Add-missing-return-data-to-scheduled-jobs.patch
  * -0006-Fix-RPM-issues-with-the-date-time-and-add-package-at.patch
    +0005-Fix-RPM-issues-with-the-date-time-and-add-package-at.patch
  * -0007-Bugfix-info_available-does-not-work-correctly-on-SLE.patch
    +0006-Bugfix-info_available-does-not-work-correctly-on-SLE.patch
- Add:
  * 0007-Check-if-byte-strings-are-properly-encoded-in-UTF-8.patch

- Rename use-forking-daemon.patch to
  0001-tserong-suse.com-We-don-t-have-python-systemd-so-not.patch
- Rename use-salt-user-for-master.patch to
  0002-Run-salt-master-as-dedicated-salt-user.patch
- Rename 1efe484309a5c776974e723f3da0f5181f4bdb86.patch to
  0003-List-products-consistently-across-all-SLES-systems.patch
- Rename zypper-utf-8.patch to
  0004-zypper-check-package-header-content-for-valid-utf-8.patch
- Rename salt-2015.8-schedule-ret.patch to
  0005-Add-missing-return-data-to-scheduled-jobs.patch
- Rename salt-2015.8-pkg-zypper-attr-filtering.patch to
  0006-Fix-RPM-issues-with-the-date-time-and-add-package-at.patch
- Rename salt-2015.8-zypper-info.patch to
  0007-Bugfix-info_available-does-not-work-correctly-on-SLE.patch

OBS-URL: https://build.opensuse.org/request/show/361294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/salt?expand=0&rev=55
2016-02-24 17:43:06 +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
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 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +00:00
salt.spec Accepting request 361294 from systemsmanagement:saltstack 2016-02-24 17:43:06 +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