SCIENTIFIC-LINUX-USERS Archives

May 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Connie Sieh <[log in to unmask]>
Reply To:
Connie Sieh <[log in to unmask]>
Date:
Tue, 29 May 2012 13:55:12 -0500
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (25 lines)
On Tue, 29 May 2012, Chris O'Regan wrote:

> We maintain our own local mirror of SL5 and update our servers from it.
> We have created our own repo file in /etc/yum.repos.d/ and have disabled
> everything else by setting "enable=1" to "enable=0". We do this instead
> of simply deleting them in case we ever need refer to those files.
>
> We have a cfengine script that does this and it has worked perfectly
> until SL5.8. It seems that a new repo was introduced in this version
> (sl-security-jdk) but the regex that matches the other repos does not
> match this one. That is because there is trailing whitespace after the
> "enabled=1" in that section.
>
> I have update my regex from "^enable=1$" to "^enabled=1.*$", but I
> wonder what that trailing whitespace is doing there in the first
> place! ;-)
>
>
>

It is a typo.  We will fix it in the next release.  Thanks for reporting 
this issue.

-Connie Sieh

ATOM RSS1 RSS2