Advanced search
Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings maemo SDK+
Summary Forums Tracker Lists Tasks Docs News SCM Files

Bugs: Browse | Download .csv

[#2955] Any way to control use of session directories for ESbox?

Please login

State:
Open
Date:
2008-10-22 13:36
Priority:
3
Submitted By:
Ed Swartz (eswartz)
Assigned To:
Jukka-Pekka Iivonen (jiivonen)
Summary:
Any way to control use of session directories for ESbox?

Detailed description
The latest sb2 uses session directories to provide unique versions of /tmp for every launch:

$ sb2 -m maemo sb2-show path /tmp
/tmp => /tmp/sb2-devel-20081022-080928.F19386/tmp
$ sb2 -m maemo sb2-show path /tmp
/tmp => /tmp/sb2-devel-20081022-080931.O19438/tmp

Unfortunately, this makes ESbox unable to properly map /tmp for its own purposes -- it needs to have a stable way to
predict where files will map in and out of sb*, since by operating inside Eclipse it runs outside of sb*.

ESbox launches several commands with serial invocations of sb2, and also needs to access files from the host outside
of sb2.  If the session directory changes every time, it's not good.  Using "-P" to preserve the directory
is a non-starter, since it only provides information about the past, not the future, and also pollutes stdout with a
message.

While it seems that only /tmp is mapped to a session directory, it's unclear what other directories might be mapped
here in the future, and how ESbox will cope.

Is there / could there be some way for ESbox to override this behavior, or at least control when a session directory
changes?  It seems like the SBOX_SESSION_DIR env var would do this, but it's intentionally disallowed for the user to
set it, either before "sb2" or inside the "sb2" command line.

Would we be able to use some combination of "sb2 -m maemo" and "-M <overrides>" to force /tmp
to go where we want?

Followup

Message
Date: 2009-02-17 15:49
Sender: Ed Swartz

BTW, this is working fine for us, so you can close this issue
if necessary.
Date: 2008-12-09 14:34
Sender: Ed Swartz

Hmm, I'm a bit confused.  I thought the new sb2 options addressed
this request.  What else is going to change?
Date: 2008-12-09 14:18
Sender: Jukka-Pekka Iivonen

Hi,

This is coming.. please be patient :) Sessions management is
on the roadmap, and hopefully done in the next release.
Date: 2008-12-09 13:38
Sender: Ed Swartz

It's working for us -- there are -S, -J, and -D options to sb2
which control the session, and we use this.
Date: 2008-12-09 12:14
Sender: Eero Tamminen

> Yes, we have noticed this. Will be fixed in Beta-2.5 release
next week. Thanks!

It's been couple of months since that comment, but this issue
is still in open state...?
Date: 2008-10-25 07:38
Sender: Jukka-Pekka Iivonen

Yes, we have noticed this. Will be fixed in Beta-2.5 release
next week. Thanks!

Attached Files:

Name Download
No Files Currently Attached

Changes:

Field Old Value Date By
ResolutionNone2008-10-25 07:38jiivonen
assigned_tonone2008-10-25 07:38jiivonen

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment