DragonFly submit List (threaded) for 2009-09
DragonFly BSD
DragonFly submit List (threaded) for 2009-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: minor fixes for redoing nrelease sub-targets


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Thu, 10 Sep 2009 03:10:24 +0900

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).



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