2011/2/3 elbbit <elb...@gmail.com>

> On 03/02/11 10:19, Raffaele Morelli wrote:
> > Hi,
> >
> > I am having serious troubles with dhcp. The resolv.conf file is being
> > continuosly overwritten by some program/daemon I can't guess.
> > I tried the supersede/prepend directives in dhclient.conf with no
> success,
> > the same with the dhclient-script hooks
> > I tried using network-manager connections to get rid of dhcp client
> > settings.
> > I have removed dhcp* packages and reinstalled again from scratch and as a
> > result the /etc/dhcp3/ directory is not there anymore.
> >
> > I really can't figure out what to do.
> >
> > Any suggestion?
> >
> > Best regards
> > Raffaele
> >
>
> Maybe you could grep the list of open files to see if you can identify
> what may be overwriting it?
>
>  lsof | grep resolv
>
>
Hi,

you'll find the output of lsof|grep resolv at the end and but as you can see
there are too many apps involved...

I actually have a stable resolv.conf but I really don't know why... I only
switched from network-manager to plasma-widget-networkmanagement, but
/etc/dhcp3 dir it's not there anymore even if dhcp related pkgs are
installed (below) and no dhclient.conf exists anymore on / filesystem

ii  dhcp-client                     3.1.1-6+lenny4
ii  dhcp3-client                    4.1.1-P1-15
ii  dhcp3-common                    4.1.1-P1-15

regards
raffaele

------------------------ ------------------------
NetworkMa 1371       root  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
kerneloop 1379       root  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
console-k 1470       root  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
kdeinit4  1645   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
klauncher 1646   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
kded4     1648   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
ksmserver 1654   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
kwin      1656   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
knotify4  1661   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
plasma-de 1662   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
kio_file  1667   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
kerneloop 1678   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
polkit-kd 1683   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
krunner   1684   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
pulseaudi 1686   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
kmix      1688   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
polkitd   1698       root  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so
korgac    1725   rmorelli  mem       REG                8,1     80712
201973 /lib/libresolv-2.11.2.so

Reply via email to