diff --git a/root/etc/e-smith/templates/etc/crontab/squid b/root/etc/e-smith/templates/etc/crontab/squid index 9fe43a6..1ac717c 100644 --- a/root/etc/e-smith/templates/etc/crontab/squid +++ b/root/etc/e-smith/templates/etc/crontab/squid @@ -5,16 +5,17 @@ my $min = int(rand(60)); my $hour = int(rand(5)); my $dow = substr(localtime,0,3); + my $cmd = 'squid -k rotate 2>&1 |grep -v "BCP 177"'; if ($freq eq 'hourly') { - return "$min * * * * root squid -k rotate\n"; + return "$min * * * * root $cmd\n"; } elsif ($freq eq 'weekly') { - return "$min $hour * * $dow root squid -k rotate\n"; + return "$min $hour * * $dow root $cmd\n"; } elsif ($freq eq 'monthly') { - return "$min $hour 15 * * root squid -k rotate\n"; + return "$min $hour 15 * * root $cmd\n"; } elsif ($freq eq 'disabled') { return "# squid rotate disabled\n"; } else { - return "$min $hour * * * root squid -k rotate\n" + return "$min $hour * * * root $cmd\n" } } diff --git a/smeserver-proxy.spec b/smeserver-proxy.spec index af862d6..70871b6 100644 --- a/smeserver-proxy.spec +++ b/smeserver-proxy.spec @@ -4,7 +4,7 @@ Summary: smeserver server and gateway - proxy module %define name smeserver-proxy Name: %{name} %define version 11.0.0 -%define release 4 +%define release 5 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -29,6 +29,9 @@ Provides: e-smith-proxy smeserver server and gateway software - proxy module. %changelog +* Sun Sep 22 2024 Jean-Philippe Pialasse 11.0.0-5.sme +- workaround cron noise on squid rotate without IPv6 [SME: 12636] + * Thu Apr 04 2024 Brian Read 11.0.0-4.sme - Update createlinks to create smeserver-package-update event[SME: 12579]