Bug#436209: resolvconf update script breaks maradns configuration

2007-08-28 Thread Sam Trenholme
Upstream here.  Just letting you guys know that I didn't write this script.
However, I think I will look at it.  If its license is MaraDNS-compatible, I
may even add it to MaraDNS proper.

Indeed, I would like to see Debian-specific stuff like this become part of 
the next 1.3 stable release of MaraDNS.

- Sam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#436209: resolvconf update script breaks maradns configuration

2007-08-06 Thread Lapse of Reason
Package: maradns
Version: 1.2.12.04-1, 1.2.12.06-1
Severity: normal
Tags: patch

The resolvconf update script included in the maradns package inserts
wrong information into the maradns configuration file, i.e. with extra
backslashes like this:
ipv4_alias\[resolvconf_nameservers\] = 1.2.3.4

instead of this:
ipv4_alias[resolvconf_nameservers] = 1.2.3.4

This only happens when there are no such entries already present in
the configuration file, replacing already existing entries works fine.

It causes maradns to silently fail on startup because of invalid
entries in the configuration file.

A patch is included below to fix this.

--- etc/resolvconf/update.d/maradns.orig2007-08-05 23:31:03.0 
+0200
+++ etc/resolvconf/update.d/maradns 2007-08-05 23:30:54.0 +0200
@@ -76,7 +76,7 @@

 else

-  echo ${IPV4ALIAS_REGEXP///} = \$CSL\  $MARARC
+  echo ${IPV4ALIAS_REGEXP//\\/} = \$CSL\  $MARARC
   CHANGED=1

 fi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]