sunstone vnc proxy can't find it's lock file correctly
|Assignee:||Daniel Molina||% Done:|
|Target version:||Release 4.4|
|Affected Versions:||OpenNebula 4.2|
OpenNebulaVNC.rb tries to load the path of the lock file as config[:lock_file]. That should really be :vnc_lock_file.
Then, the sunstone-server.conf doesn't list that as a valid configuration item.
Next, the code defaults to /tmp/novnc.lock, which is a security issue(hard-coded /tmp file).
This prevents the proxy from starting at all.
bug #2253: sunstone vnc proxy can't find it's lock file correctly(cherry picked from commit 4d942f7a87934a9c462dd4d518b8d5de334c539d)