Bug #2253
sunstone vnc proxy can't find it's lock file correctly
Status: | Closed | Start date: | 07/31/2013 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Daniel Molina | % Done: | 100% | |
Category: | Sunstone | |||
Target version: | Release 4.4 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 4.2 |
Description
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.
Associated revisions
bug #2253: sunstone vnc proxy can't find it's lock file correctly
Bug #2253: Remove old VNC_LOCK constant
bug #2253: sunstone vnc proxy can't find it's lock file correctly(cherry picked from commit 4d942f7a87934a9c462dd4d518b8d5de334c539d)
Bug #2253: Remove old VNC_LOCK constant(cherry picked from commit 5ed3e8659c0011258ab7ecfc96533e13c022c00b)
History
#1 Updated by Ruben S. Montero almost 8 years ago
- Status changed from Pending to New
- Assignee set to Daniel Molina
- Priority changed from Normal to High
- Target version set to Release 4.4
Thanks for the feedback!
#2 Updated by Daniel Molina almost 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
- Resolution set to fixed