Public bug reported:

If resolvconf is installed, wnettools.py uses "resolvconf -a" to add a
nameserver information record. However, a grep through the code reveals
that it nowhere removes that record (using "resolvconf -d"). This is a
bug. When the program deconfigures the interface, or at the very least
when it quits, it must delete the record that it earlier created.
Otherwise this stale record remains in the system until reboot.

I am guessing that the reason that there is no "resolvconf -d" is that
wicd-daemon.py backs up and restores /etc/resolv.conf and that this was
thought to make it unnecessary to do "resolvconf -d". If my guess is
right then please note that this is a bug. When resolvconf is installed,
other software should never touch /etc/resolv.conf. At all. I will
repeat that. Don't touch /etc/resolv.conf  --- neither the symlink nor
the contents of its target. In particular don't "restore" it. (And
therefore don't "back it up", as there is no need to do so, since you
won't be "restoring" it.) As just mentioned, the way for wicd to restore
the original situation (as far as wicd is concerned) is to delete the
resolvconf record that it created, using the "-d" option.

** Affects: wicd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073706

Title:
  wnettools.py does not interface with resolvconf correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wicd/+bug/1073706/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to