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.orig 2007-08-05 23:31:03.000000000 +0200 +++ etc/resolvconf/update.d/maradns 2007-08-05 23:30:54.000000000 +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]