The nature of the problem is that the existing resolv.conf backup code doesn't handle relative symlinks well. Copied to a different directory, a relative link becomes a broken link. os.path.exists() returns false for a broken link.
Thomas-Karl's fix (and the patch I've provided for it) handle it correctly.
I have this problem in Ubuntu 13.04, but not in 12.04.
The nature of the problem is that the existing resolv.conf backup code doesn't handle relative symlinks well. Copied to a different directory, a relative link becomes a broken link. os.path.exists() returns false for a broken link.
Thomas-Karl's fix (and the patch I've provided for it) handle it correctly.
I have this problem in Ubuntu 13.04, but not in 12.04.