看板 DFBSD_submit 關於我們 聯絡資訊
On Wed, Sep 09, 2009 at 02:35:06PM +0900, YONETANI Tomokazu wrote: > - cp -p resolv.conf inherits file flags, but nrelease attempts to rm it > later on, which may fail if it had schg set. The rationale for having schg on /etc/resolv.conf is, by the way, so that dhclient won't replace it, and it's much easier than going through the manpages (dhclient, dhclient.conf, dhclient-script) and come up with a workaround (defining an empty function named make_resolv_conf in /etc/dhclient-enter-hooks, or specifying a modified version of dhclient- script with doesn't touch resolv.conf in dhclient.conf, and so on).