magnum/magnum/templates/swarm/fragments
Johannes Grassler 8a9e4089aa Fix CVE-2016-7404
This commit is a bare-bones stable/mitaka backport of the fix for
CVE-2016-7404. It only retains

* Permissions for /etc/sysconfig/heat-params inside Magnum
  created instances are tightened to 0600 (used to be 0755).

from the original patch. This was done for two reasons:

* Since stable/mitaka only passes tokens (which expire eventually)
  an attacker would have to gain access to the instance within
  a very short time window (the token expiration time).

* Backporting the remaining changes would have required
  backporting the trusts infrastructure that was only
  completed in stable/newton. This would mean a considerable
  change in the stable/mitaka default behaviour.

Please note, that this change does not apply apply to existing
clusters. They will have to be deleted and rebuilt to benefit
from these changes.

(cherry picked from commit 0bb0d6486d)

Change-Id: I329d29cdcce2225f8aa5b57852e6a37d4f8aaa3e
2017-02-26 14:46:03 +00:00
..
add-proxy.sh Swarm: Split swarm.yaml to swarmcluster.yaml and swarmmaster.yaml 2015-11-27 14:06:11 +08:00
cfn-signal.sh Rename heat-kubernetes, heat-mesos, docker-swarm 2015-11-11 16:29:33 -05:00
configure-docker-storage.sh Fix Docker storage configuration for Swarm 2016-01-07 11:09:12 -08:00
configure-etcd.sh Replace hardcoded eth0 interface in scripts 2016-03-17 05:12:44 +00:00
disable-selinux.sh Enable SELinux in swarm bay 2016-03-08 14:26:24 -05:00
enable-services.sh Enable SELinux in swarm bay 2016-03-08 14:26:24 -05:00
make-cert.py Swarm: Split swarm.yaml to swarmcluster.yaml and swarmmaster.yaml 2015-11-27 14:06:11 +08:00
network-config-service.sh Fix Docker storage configuration for Swarm 2016-01-07 11:09:12 -08:00
network-service.sh Fix Docker storage configuration for Swarm 2016-01-07 11:09:12 -08:00
remove-docker-key.sh Rename heat-kubernetes, heat-mesos, docker-swarm 2015-11-11 16:29:33 -05:00
write-bay-failure-service.yaml Rename heat-kubernetes, heat-mesos, docker-swarm 2015-11-11 16:29:33 -05:00
write-docker-service.sh Fix Docker storage configuration for Swarm 2016-01-07 11:09:12 -08:00
write-docker-socket.yaml Fix Docker storage configuration for Swarm 2016-01-07 11:09:12 -08:00
write-heat-params.yaml Fix CVE-2016-7404 2017-02-26 14:46:03 +00:00
write-network-config.sh Updates Swarm Heat Templates to Support Container Network Model 2015-11-17 20:37:02 +00:00
write-swarm-agent-service.sh Replace hardcoded eth0 interface in scripts 2016-03-17 05:12:44 +00:00
write-swarm-master-service.sh Gate: Fix docker swarm disconnect issue 2015-12-22 20:40:41 +00:00