[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#800654: debian-edu-config: subnet-change script shoud be adjusted to match the squid to squid3 migration



On Fri, Oct 02, 2015 at 09:13:17AM +0200, Wolfgang Schweer wrote:
> 
> On jessie main server installations squid3 instead of squid is used. So 
> the sript should be adjusted.

As squid3 now uses a d-e specific configuration file, the patch should 
rather be like this:

--- a/subnet-change	2014-09-14 18:13:25.000000000 +0200
+++ b/subnet-change	2015-10-02 09:58:06.739619835 +0200
@@ -117,7 +117,7 @@
 replace_exports_ip("/etc/exports", $oldsubnet, $newsubnet);
 replace_interfaces_ip("/etc/network/interfaces", $oldsubnet, $newsubnet);
 replace_ips("/etc/samba/smb-debian-edu.conf", $oldsubnet, $newsubnet);
-replace_ips("/etc/squid/squid.conf", $oldsubnet, $newsubnet);
+replace_ips("/etc/squid3/squid-debian-edu.conf", $oldsubnet, $newsubnet);
 change_muninnode("/etc/munin/debian-edu-munin-node.conf", $oldsubnet,
                  $newsubnet);
 change_hostallow("/etc/hosts.allow", $oldsubnet, $newsubnet);


Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: