resolv.conf logic for broken symlink
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
New
|
Undecided
|
Unassigned |
Bug Description
I had a problem while migrating from NetworkManager to wicd (Gentoo Linux, wicd-1.7.4-r2). The source of a problem was following:
- after removal of NetworkManager resolv.conf was a symlink to /run/NetworkMan
- after start of wicd it was backed up as /var/lib/
- after reboot it was successfully restored
- symlink now points to nonexistent file in nonexistent location. Wicd can't write DNS information there. Even if /etc/resolv.conf is deleted and wicd successfully reconnects, broken symlink is restored after reboot.
Fix is extremely simple: remove /var/lib/
Hi,
> - after removal of NetworkManager resolv.conf was a symlink to /run/NetworkMan ager/resolv. conf
That sounds rather like a bug in Gentoo's NetworkManager package to me than in wicd. Any cruft generated by a package/ebuild upon installation should be removed again upon package/ebuild removal.
Fixing in in wicd may though help.