[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: editfiles:UnCommentLinesContaining doesn't work as expected ...
From: |
Mark . Burgess |
Subject: |
Re: editfiles:UnCommentLinesContaining doesn't work as expected ... |
Date: |
Sat, 1 Sep 2001 20:31:25 +0200 (MET DST) |
On 22 Jan, Eric Berggren wrote:
>
> ... or is it a feature. i have the following editfiles block :
>
> solaris::
> { /etc/default/login
> SetCommentStart '#'
> SetCommentEnd ''
> UnCommentLinesContaining "CONSOLE="
> ResetSearch 1
> UnCommentLinesContaining "UMASK="
> ResetSearch 1
> UnCommentLinesContaining "SUPATH="
> ResetSearch 1
> UnCommentLinesContaining "TIMEZONE="
> }
>
> against the file /etc/default/login, which contains among other things :
>
>
> # Set the TZ environment variable of the shell.
> #
> #TIMEZONE=EST5EDT
>
> # If CONSOLE is set, root can only login on that device.
> # Comment this line out to allow remote login by root.
> #
> #CONSOLE=/dev/console
>
> # SUPATH sets the initial shell PATH variable for root
> #
> #SUPATH=/usr/sbin:/usr/bin
>
> # UMASK sets the initial shell file creation mode mask. See umask(1).
> #
> #UMASK=022
>
>
> but it results in :
>
>
> # Set the TZ environment variable of the shell.
> #
> =EST5EDT
>
> # If CONSOLE is set, root can only login on that device.
> # Comment this line out to allow remote login by root.
> #
> =/dev/console
>
> # SUPATH sets the initial shell PATH variable for root
> #
> =/usr/sbin:/usr/bin
>
> # UMASK sets the initial shell file creation mode mask. See umask(1).
> #
> =022
>
> rather than removing the initial '#' mark.
>
>
> Am I doing something wrong here ?
>
> # cfengine -v
> Reference time set to Mon Jan 22 16:00:08 2001
>
> GNU Configuration Engine -
> 1.6.1
> .........
>
>
> thanks,
> -eric
I'm going through the backlog of cfengine bug reports which
I have not had time to look at recently. I have tested this
and find that the problem seems to be fixed in the current
version.
best,
Mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: address@hidden
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: editfiles:UnCommentLinesContaining doesn't work as expected ...,
Mark . Burgess <=