Wei Zhou created CLOUDSTACK-4421:
------------------------------------

             Summary: Fix potential issues caused by grep and sed in cloudstack
                 Key: CLOUDSTACK-4421
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4421
             Project: CloudStack
          Issue Type: Task
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.1.0, 4.2.0
            Reporter: Wei Zhou


In CloudStack, many issues are caused by grep and sed command in scripts or 
java files.
For example, "ps -ef|grep aaa" to search for process named aaa could return 
true  if there is a process named aaaa.

We need to check all the files and fix potential issues.
For instance,
(1) search another file or use "grep -w" instead of "grep"
(2) add more characters in "/s" part of "sed" command

If you are interested in checking some parts of the source codes, please feel 
free to add a sub-task.

--
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

Reply via email to