[PATCH] Fixed a typo in the CS2 profile

Cooper, Caleb D. coopercd at ornl.gov
Tue Nov 12 15:27:20 UTC 2013


The reason for the noise is because I get this error when I try to commit the change.

Fatal: CRLF would be replaced by LF in RHEL6/input/profiles/CS2.xml.

I apologize but I do not know how to fix this issue without converting the file first.

-----Original Message-----
From: scap-security-guide-bounces at lists.fedorahosted.org [mailto:scap-security-guide-bounces at lists.fedorahosted.org] On Behalf Of Shawn Wells
Sent: Sunday, November 10, 2013 3:59 PM
To: scap-security-guide at lists.fedorahosted.org
Subject: Re: [PATCH] Fixed a typo in the CS2 profile

On 11/8/13, 9:39 AM, Caleb Cooper wrote:
> Signed-off-by: Caleb Cooper<coopercd at ornl.gov>
> ---
>   RHEL6/input/profiles/CS2.xml |  760 +++++++++++++++++++++---------------------
>   1 files changed, 380 insertions(+), 380 deletions(-)
>
> diff --git a/RHEL6/input/profiles/CS2.xml 
> b/RHEL6/input/profiles/CS2.xml index 35b88b5..c6df577 100644
> --- a/RHEL6/input/profiles/CS2.xml
> +++ b/RHEL6/input/profiles/CS2.xml
> @@ -1,380 +1,380 @@
> .......
> -<select idref="acounts_maximum_age_login_defs" selected="true"/> ....
> +<select idref="accounts_maximum_age_login_defs" selected="true"/>
> .........

While clear the patch fixed this typo, the extra line changes prevent clear indication if other changes were introduced.

Could you minimize the noise in the patch? e.g.

git checkout RHEL6/input/profiles/CS2.xml sed -i 's/acounts_maximum_age/accounts_maximum_age/g' 
RHEL6/input/profiles/CS2.xml
git commit RHEL6/input/profiles/CS2.xml
_______________________________________________
scap-security-guide mailing list
scap-security-guide at lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide


More information about the scap-security-guide mailing list