I have been testing nscd and it does seem to handle resolv.conf changes automatically.
Start nscd and touch /run/resolvconf/resolv.conf: # touch /run/resolvconf/resolv.conf # stat /run/resolvconf/resolv.conf File: `/run/resolvconf/resolv.conf' [...] Access: 2013-01-30 21:03:43.435754739 +0100 Modify: 2013-01-30 21:03:43.435754739 +0100 Change: 2013-01-30 21:03:43.435754739 +0100 After doing some name lookup, the atime of the file has changed because nscd has re-read it. # stat /run/resolvconf/resolv.conf File: `/run/resolvconf/resolv.conf' [...] Access: 2013-01-30 21:03:56.547773378 +0100 Modify: 2013-01-30 21:03:43.435754739 +0100 Change: 2013-01-30 21:03:43.435754739 +0100 So I will go ahead and remove the nscd restart, at least. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1110331 Title: Eliminate nscd restart from update script? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1110331/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
