Re: minor fixes for redoing nrelease sub-targets

看板DFBSD_submit作者時間16年前 (2009/09/10 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
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).
文章代碼(AID): #1Af_IbZW (DFBSD_submit)
文章代碼(AID): #1Af_IbZW (DFBSD_submit)