Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.3, 2.3.1, 2.3.2
-
None
Description
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 |