Commit 7d3665f6 authored by Dietmar Maurer's avatar Dietmar Maurer

undo last commit - we us an extra daemon to update firewall rules

parent 71bcccfc
...@@ -18,7 +18,6 @@ use PVE::OpenVZ; ...@@ -18,7 +18,6 @@ use PVE::OpenVZ;
use PVE::RPCEnvironment; use PVE::RPCEnvironment;
use PVE::API2::Subscription; use PVE::API2::Subscription;
use PVE::AutoBalloon; use PVE::AutoBalloon;
use PVE::Firewall;
$SIG{'__WARN__'} = sub { $SIG{'__WARN__'} = sub {
my $err = $@; my $err = $@;
...@@ -334,13 +333,6 @@ sub update_storage_status { ...@@ -334,13 +333,6 @@ sub update_storage_status {
} }
} }
sub update_pve_firewall {
local $SIG{'__WARN__'} = 'IGNORE'; # do not fill up logs
PVE::Firewall::update();
}
sub update_status { sub update_status {
# update worker list. This is not really required and # update worker list. This is not really required and
...@@ -382,13 +374,6 @@ sub update_status { ...@@ -382,13 +374,6 @@ sub update_status {
}; };
$err = $@; $err = $@;
syslog('err', "openvz console cleanup error: $err") if $err; syslog('err', "openvz console cleanup error: $err") if $err;
eval {
update_pve_firewall();
};
$err = $@;
syslog('err', "pve firewall update error: $err") if $err;
} }
my $next_update = 0; my $next_update = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment