[ 
https://issues.apache.org/jira/browse/VCL-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Kurth updated VCL-676:
---------------------------
    Fix Version/s: 2.4

> OS.pm::remove_lines_from_file not escaping characters correctly
> ---------------------------------------------------------------
>
>                 Key: VCL-676
>                 URL: https://issues.apache.org/jira/browse/VCL-676
>             Project: VCL
>          Issue Type: Bug
>          Components: vcld (backend)
>    Affects Versions: 2.3, 2.3.1, 2.3.2
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>            Priority: Minor
>             Fix For: 2.3.3, 2.4
>
>
> OS.pm::remove_lines_from_file not escaping characters correctly.  As a 
> result, the following error is generated:
> |28235|2104839:2193277|image| ---- WARNING ----
> |28235|2104839:2193277|image| 2013-02-25 
> 13:37:09|28235|2104839:2193277|image|OS.pm:remove_lines_from_file(1973)|failed
>  to remove lines containing '^arkurth .*' from '/etc/sudoers' on blade2c1-2
> |28235|2104839:2193277|image| command: echo -n 'before:' ; grep -c 
> '^userid.*' /etc/sudoers 2>&1 ; sed -i -e '/^userid.*/d' /etc/sudoers 2>&1 ; 
> echo -n 'after:' ; grep -c '^userid.*' /etc/sudoers 2>&1
> ...
> |28235|2104839:2193277|image| sed: -e expression #1, char 9: unterminated 
> address regex
> |28235|2104839:2193277|image| after:.:0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to