[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in resolve?
From: |
Leslie Smith |
Subject: |
Re: Bug in resolve? |
Date: |
Wed, 20 Apr 2005 13:45:43 +1000 |
This has been happening for a long time (2.1.5 vintage)
Mark suggested changing the list separator. I use editfiles instead.
les
On Wed, 2005-04-20 at 12:59 +1000, Tim Nelson wrote:
> On Mon, 18 Apr 2005, Pip Oomen wrote:
>
> > Is the following a known issue? Or is there something wrong in my
> > configuration?
>
> No, this is a new bug :). Mark, is there a way colons can be
> embedded in in strings? If not, can we have one of those special variable
> things that does this?
>
> Pip, try escaping the colon with a backslash. I don't think it'll
> work, but it's worth a go.
>
> :)
>
> > Linux 2.6.8-2-686 #1 Mon Jan 24 03:58:38 EST 2005 i686 GNU/Linux
> > GNU cfengine 2.1.13
> >
> > Input file:
> > ---
> > control:
> > EmptyResolvConf = ( true )
> > actionsequence = ( resolve )
> > domain = ( mediehuset.gan.no )
> >
> > resolve:
> > 172.16.16.19 # local nameserver
> > 172.16.16.254 # backup nameserver
> > "search $(domain) gan.no services.gan.no"
> > "options timeout:1"
> > ---
> >
> > Expected result:
> > ---
> > domain mediehuset.gan.no
> > nameserver 172.16.16.19
> > nameserver 172.16.16.254
> > search mediehuset.gan.no gan.no services.gan.no
> > options timeout:1
> > ---
> >
> > Actual result:
> > ---
> > domain mediehuset.gan.no
> > nameserver 172.16.16.19
> > nameserver 172.16.16.254
> > search mediehusetSomeone.gan.no gan.no services.gan.no
> > options timeout
> > nameserver 1
> > ---
> >
> > Relevant debug output:
> > ---
> > DEFINED NAMESERVERS
> >
> > 1 (any)
> > options timeout (any)
> > search mediehuset.gan.no gan.no services.gan.no (any)
> > 172.16.16.254 (any)
> > 172.16.16.19 (any)
> > ---
> >
> > Mvh,
> >
> > Pip Oomen.
> >
> >
> >
> > _______________________________________________
> > Bug-cfengine mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/bug-cfengine
> >
>
--
Les Smith
address@hidden
Ext: 54046
-------- Forwarded Message --------
From: address@hidden
To: address@hidden
Cc: address@hidden
Subject: Re: resolv.conf
Date: Tue, 24 Aug 2004 08:38:05 +0200 (MEST)
Try changing the default value of the list separator
Split = ( "," )
On 23 Aug, Leslie Smith wrote:
> When i am adding items to the resolv.conf, I need to add
>
> options timeout:1
>
> to certain hosts. But cfengine misinterprets the colon and adds
>
> options timeout
> nameserver 1
>
> Is there any escape character i am supposed to use to stop this.
>
>
>
> Thank you for your help,
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: address@hidden
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~