--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: wnettools.py uses the wrong resolvconf record name
- From: Thomas Hood <jdthood@gmail.com>
- Date: Wed, 31 Oct 2012 21:29:59 +0100
- Message-id: <CAJn8KfA4Yso=1r=2bCzEt+xjHCVq2wUq973PJBNXLbCKF5OESg@mail.gmail.com>
Package: python-wicd
Version: 1.7.2.4-2
Severity: minor
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']
--- End Message ---
--- Begin Message ---
- To: 691974-done@bugs.debian.org
- Subject: Re: Bug#691974: wnettools.py uses the wrong resolvconf record name
- From: Axel Beckert <abe@debian.org>
- Date: Mon, 16 Jan 2017 03:48:45 +0100
- Message-id: <20170116024845.GA5150@sym.noone.org>
- In-reply-to: <20121031215252.166895f2@local>
- References: <CAJn8KfA4Yso=1r=2bCzEt+xjHCVq2wUq973PJBNXLbCKF5OESg@mail.gmail.com> <20121031215252.166895f2@local>
Version: 1.7.3-1
Hi,
David Paleino wrote:
> tags 691974 fixed-upstream confirmed
> thanks
>
> On Wed, 31 Oct 2012 21:29:59 +0100, Thomas Hood wrote:
> > 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']
>
> Fixed upstream, many thanks for your report(s)!
>
> http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/revision/821
This commit has been included in the 1.7.3 upstream release, hence
closing as fixed in 1.7.3-1.
Regards, Axel
--
,''`. | Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
--- End Message ---