[Resolvconf-devel] Bug#773749: Resolvconf vs wicd
Axel Beckert
abe at debian.org
Wed Jan 14 08:47:54 UTC 2015
Hi Vincent,
Vincent Lefevre wrote:
> and indeed, there is a backup file:
>
> -rw-r--r-- 1 root root 21 2010-05-24 20:28:15 /var/lib/wicd/resolv.conf.orig
Yep, here, too.
> However it is completely obsolete. The above method is obviously
> broken: if ever wicd-daemon or the system crashes, or the machine
> switches off due to a power supply problem, then one ends up with
> an obsolete backup file, and the backup no longer works at all
> until this file is removed by the user (who probably doesn't know
> anything about this problem).
Indeed. But that's what resolvconf is for. If there is no resolvconf,
I think that method is ok. And you surely don't want a hard dependency
on resolvconf.
> > At least for a short moment the message "Modifying /etc/resolv.conf"
> > or similar was shown in wicd-curses' status line.
>
> Are you sure that this comes from wicd?
Yes, it showed up in the status line of wicd-curses. But only for a
fracture of a second, so I wasn't able to copy and paste it and -- as
I wrote ("or similar") -- I'm not sure about the exact wording, just
about the meaning.
> The wicd source doesn't contain the word "Modifying".
Maybe it was "Writing", "Updating", "Creating" or such. Checking the
code, it probably was "print 'Setting DNS : ' + dns" from line 671 of
/usr/share/pyshared/wicd/wnettools.py.
Regards, Axel
--
,''`. | Axel Beckert <abe at 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
More information about the Resolvconf-devel
mailing list