You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Andy Kurth (JIRA)" <ji...@apache.org> on 2013/02/25 19:48:13 UTC
[jira] [Created] (VCL-676) OS.pm::remove_lines_from_file not
escaping characters correctly
Andy Kurth created VCL-676:
------------------------------
Summary: 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.1, 2.3, 2.3.2
Reporter: Andy Kurth
Assignee: Andy Kurth
Priority: Minor
Fix For: 2.3.3
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira