wnettools.py uses the wrong resolvconf record name

Bug #1073698 reported by Thomas Hood
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd (Debian)
Fix Released
Unknown
wicd (Ubuntu)
New
Undecided
Unassigned

Bug Description

In the current wnettools.py the resolvconf command is formed thus

    cmd = [self.resolvconf_cmd, '-a', self.iface]

The last argument is the name of the record used to store the information. The convention is to use the record name IFACE.SOURCE where IFACE is the name of the interface and SOURCE is the name of the program sending the information, in this case 'wicd'. The two strings are connected with a dot. Thus if the interface name is 'eth0' the resolvconf record name should be 'eth0.wicd' and the resolvconf command should be

    /sbin/resolvconf -a eth0.wicd

Please change wicd to follow the convention. E.g., change the code quoted above to the following.

    cmd = [self.resolvconf_cmd, '-a', self.iface + '.wicd']

Thomas Hood (jdthood)
description: updated
Changed in wicd (Debian):
status: Unknown → Confirmed
Changed in wicd (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.