Bug #2253

sunstone vnc proxy can't find it's lock file correctly

Added by Adam Heath almost 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:07/31/2013
Priority:HighDue 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

Revision 4d942f7a
Added by Daniel Molina almost 8 years ago

bug #2253: sunstone vnc proxy can't find it's lock file correctly

Revision 5ed3e865
Added by Daniel Molina almost 8 years ago

Bug #2253: Remove old VNC_LOCK constant

Revision 2da08af9
Added by Daniel Molina almost 8 years ago

bug #2253: sunstone vnc proxy can't find it's lock file correctly(cherry picked from commit 4d942f7a87934a9c462dd4d518b8d5de334c539d)

Revision c6df2ac4
Added by Daniel Molina almost 8 years ago

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

Also available in: Atom PDF