Package: salt / 2016.11.2+ds-1+deb9u2

Metadata

Package Version Patches format
salt 2016.11.2+ds-1+deb9u2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
doc_fixes.patch | (download)

doc/conf.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix to docs to enable building
prevent_intersphinx_network_access.patch | (download)

doc/conf.py | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 prevent network access during build (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755026
Make the Salt Proxy environment aware.patch | (download)

salt/minion.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] make the salt proxy environment aware

The Salt proxy minion is looking for proxy minion modules in
salt://_proxy/. It does so however only in the default "base"
environment. On setups which do not use "base" or shall be executed in a
Workaround wrong oscodename grain.patch | (download)

salt/grains/core.py | 14 13 + 1 - 0 !
1 file changed, 13 insertions(+), 1 deletion(-)

        Debian GNU/Linux 8.4 (jessie)
    lsb_distrib_id:
        Debian
    lsb_distrib_os:
        GNU/Linux
    lsb_distrib_release:
        8.4
[...]
    os:
        Debian
    os_family:
        Debian
    osarch:
        amd64
    oscodename:
        jessie
    osfinger:
        Debian-8
    osfullname:
        Debian
    osmajorrelease:
        8
    osrelease:
        8.4
    osrelease_info:
        - 8
        - 4

Implement a workaround before implementing a proper fix.

See https://github.com/saltstack/salt/issues/34423

Fix top_file_merging_strategy warning.patch | (download)

salt/state.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix top_file_merging_strategy warning if env_order is set

According to the documentation, the env_order config option allows one
to explicitly define the order in which top files are evaluated, when
top_file_merging_strategy is set to merge, and no environment is
specified for a highstate.

Despite honoring the environment order specified in env_order in
BaseHighState._get_envs(), salt still prints a warning recommending
setting env_order. Thus silence the warning when env_order is set.

fixes #29104

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>

CVE 2017 12791.patch | (download)

salt/utils/verify.py | 11 10 + 1 - 0 !
1 file changed, 10 insertions(+), 1 deletion(-)

 [patch] add clean_id function to salt.utils.verify.py
CVE 2017 14695.patch | (download)

salt/utils/verify.py | 15 4 + 11 - 0 !
tests/unit/utils/verify_test.py | 10 10 + 0 - 0 !
2 files changed, 14 insertions(+), 11 deletions(-)

 [patch] don't allow path separators in minion id
CVE 2017 14696.patch | (download)

salt/crypt.py | 3 3 + 0 - 0 !
salt/transport/tcp.py | 11 11 + 0 - 0 !
salt/transport/zeromq.py | 11 11 + 0 - 0 !
3 files changed, 25 insertions(+)

 [patch] do not allow ids with null bytes in decoded payloads
Check_if_data_return_is_dict_type.patch | (download)

salt/client/mixins.py | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 [patch] check if data['return'] is dict type
clean doc without sphinx.patch | (download)

doc/Makefile | 59 29 + 30 - 0 !
1 file changed, 29 insertions(+), 30 deletions(-)

 [patch] do not require sphinx-build for cleaning docs
CVE 2017 8109.patch | (download)

salt/fileclient.py | 75 1 + 74 - 0 !
salt/modules/cp.py | 22 22 + 0 - 0 !
salt/modules/file.py | 11 9 + 2 - 0 !
salt/states/file.py | 7 7 + 0 - 0 !
4 files changed, 39 insertions(+), 76 deletions(-)

 [patch] stat file when placing it on server instead of caching

remove chmod of files in the fileserver
add stat_file to cp module
use cp.stat_file to get file mode in file module
add a note about keep not working with ssh