Hi,

Thomas Hood wrote:
> 1. When (if ever) does wicd modify dhclient.conf?

I claim that it doesn't touch the one at /etc/dhcp/dhclient.conf at
all.

>From the bug report and the logic (you can set things like search
domains and DNS servers statically per configured connection, e.g. per
WLAN), I would have had expected that it does so always after the user
requested to connect to a network, but before it starts dhclient for
this connection.

But it doesn't use /etc/dhcp/dhclient.conf for that (probably because
it should also work when using static IPs) but (without having
resolvconf installed) modifies /etc/resolv.conf directly as it seems.
At least for a short moment the message "Modifying /etc/resolv.conf"
or similar was shown in wicd-curses' status line.

According to /etc/wicd/dhclient.conf.template.default the idea is to
generate a dhclient.conf somewhere under /var/run/, but actually and
according to /usr/share/pyshared/wicd/wnettools.py it's at
/var/lib/wicd/dhclient.conf.

Here are the wicd related files under /var on one of my systems:

~ → tree /var/lib/wicd /var/run/wicd
/var/lib/wicd
├── configurations
│   ├── 000f66a720db
│   ├── […]
│   └── f02572ca7274
├── dhclient.conf
└── resolv.conf.orig
/var/run/wicd
└── wicd.pid

Additionally I found no evidence in the code at all that wicd accesses
/etc/dhcp/dhclient.conf -- and it didn't look as if it did that on my
machines. But then again, I stopped using resolvconf years ago, so my
machines may not be the proper examples since this bug report is now
against resolvconf.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@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


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to