[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#60771: "Temporary" fix for problem "nscd must be restarted upon ip-up/ip-down" #60771



Hallo!

I read your discussion on how to fix this, but I cannot see that something happened the last three year and the bug is still here. To fix this temporatily, I suggest you add a file /etc/ppp/ip-up.d/nscd to the nscd package with the following content:

#!/bin/sh

#

# On starting PPP the name server configuration might change.

# Re-start nscd if it caches hosts

#

if cat /etc/nscd.conf | fgrep enable-cache | fgrep hosts |fgrep yes >/dev/null  ; then

  /etc/init.d/nscd  restart

fi


Cheers
   Michael




Reply to: