cloudstack/plugins/hypervisors
Wido den Hollander 28d18dce00 Merge pull request #776 from exoscale/fix/firewall-sysctl
sysctl: don't modify /etc/sysctl.confTo configure firewall rules, CloudStack modifies `/etc/sysctl.conf` and
execute those modifications. This may be harmful for several reasons:

 1. `/etc/sysctl.conf` may be managed by some configuration management
    system. Such a system will constantly restore the previous version.

 2. `/etc/sysctl.conf` may contain additional properties that have been
    changed later by some system administrator (for example, once a
    firewall has been configured, forwarding may have been activated
    while it is disabled in `/etc/sysctl.conf`). Executing the file
    again at a later time may disrupt the system.

 3. Entries are added again and again. `/etc/sysctl.conf` will contain
    the same directives repeated several times.

Using a configuration file is not needed as `sysctl` is able to directly
modify sysctl values with `-w` flag.

Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>

* pr/776:
  sysctl: don't modify /etc/sysctl.conf

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-09-09 10:29:20 +02:00
..
baremetal Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
hyperv Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
kvm CLOUDSTACK-8678: Reserve RAM for KVM host OS 2015-09-03 10:07:22 -07:00
ovm sysctl: don't modify /etc/sysctl.conf 2015-09-04 14:31:09 +02:00
ovm3 Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
simulator Merge pull request #741 from koushik-das/simulator_fixes 2015-08-31 12:15:54 +05:30
ucs Fix findbugs warning in UcsManagerImpl.java Integer was being created to assign value to int 2015-06-15 12:09:37 +03:00
vmware Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
xenserver Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30