Jonathan - this is a side effect of some old code that is surely no
longer needed (but who knows). Cfagent would delete lines with spaces
at the ends, but it seems t pick up spaces in the wrong place too...
hmm. Anyway, I have removed the code. I think it ought to be retired
fifteen years after... You can get a patched 2.2.0 from the svn repository

M

Jonathan Covington wrote:
> In versions 2.1.19-21, the Resolve action removes /etc/resolv.conf lines 
> other than domain and nameserver. For example, the retrans, retry, and lookup 
> lines are removed from the following examples.
> This occurs with and without EmptyResolvConf explicity set to False. Further, 
> it also occurs any time Resolve is in the action sequence, regardless of 
> whether a Resolve: section is present.
> 
> domain domain.com
> retrans 300
> retry 2
> nameserver 10.10.10.10
> nameserver 10.10.10.10
> 
> domain domain.com
> lookup file bind
> nameserver 10.10.10.10
> nameserver 10.10.10.10
> 
> Please advise, thanks.
> 
> Jonathan S. Covington
> Herman Miller, Inc.
> 
> _______________________________________________
> Bug-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/bug-cfengine

-- 
Mark Burgess

Professor of Network and System Administration
Oslo University College

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  [EMAIL PROTECTED]
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to