Re: Rainbow 0.7.12 Announcement

2008-05-06 Thread Mikus Grinbergs
To follow on (regarding Sonata and Opera) :

Noticed that whereas the without-Rainbow Activities had their files 
located in /home/olpc/.something, with-Rainbow-0.7.12 those files 
were apparently assigned as /root/.something   That would explain 
why these Activities did not find their previous configurations.
[Had to go in and manually clean out /root after excluding these 
Activities from the scope of the Rainbow-0.7.12 affect.]

I had started these Activities by clicking on their respective icons 
in the F3 "Activity Ring".  Even though I invoked F3 at a time when 
I had been (F4) in Terminal running as root, I would have expected 
these Activities to have been launched with HOME=/home/olpc.

mikus
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Rainbow 0.7.12 Announcement

2008-05-06 Thread Jameson "Chema" Quinn
Current versions of Develop should not need special dispensation. Versions
up to about 24 did need it.

On Tue, May 6, 2008 at 9:16 AM, Mikus Grinbergs <[EMAIL PROTECTED]> wrote:

> Earlier, I had written:
> >Of various Activities to which I previously gave "special dispensation"
>  >from Rainbow, three now launch from the activity ring without
> needing that
>  >dispensation -- Develop, Sonata, and Opera.
>
> I spoke too soon.
>
> I'm not familiar with 'Develop', so I don't know how it was affected
> by Rainbow.  But the other two Activities use /home/olpc/.something
> for their files (Sonata: .mpd; Opera: .opera).  In both cases, the
> new Rainbow "substituted" isolation paths which were different, so
> the existing configurations of those Activities were not accessed.
> [Query - does Rainbow respect case?  Sonata refers to '.mpd/Music'.
>  With Rainbow the substitute name was 'isolation-something/music'.]
>
> I've now reverted to excluding Sonata and Opera from Rainbow.
>
> mikus
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Rainbow 0.7.12 Announcement

2008-05-06 Thread Mikus Grinbergs
Earlier, I had written:
>Of various Activities to which I previously gave "special dispensation"
 >from Rainbow, three now launch from the activity ring without 
needing that
 >dispensation -- Develop, Sonata, and Opera.

I spoke too soon.

I'm not familiar with 'Develop', so I don't know how it was affected 
by Rainbow.  But the other two Activities use /home/olpc/.something 
for their files (Sonata: .mpd; Opera: .opera).  In both cases, the 
new Rainbow "substituted" isolation paths which were different, so 
the existing configurations of those Activities were not accessed.
[Query - does Rainbow respect case?  Sonata refers to '.mpd/Music'. 
  With Rainbow the substitute name was 'isolation-something/music'.]

I've now reverted to excluding Sonata and Opera from Rainbow.

mikus

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Rainbow 0.7.12 Announcement

2008-05-06 Thread Bert Freudenberg
On 06.05.2008, at 05:16, Michael Stone wrote:

> - a compatibility patch which makes $HOME writable by activities by
>   setting $HOME and $SAR/instance equal to one another.


Why instance? Only the data directory persists, so that would seem a  
much more natural choice.

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Rainbow 0.7.12 Announcement

2008-05-05 Thread Mikus Grinbergs
> in order to solicit more widespread testing

Installed it manually (yum) on my G1G1.  Of various Activities to 
which I previously gave "special dispensation" from Rainbow, three 
now launch from the activity ring without needing that dispensation 
-- Develop, Sonata, and Opera.  Activities I tried for which even 
the new Rainbow shows error exceptions were 'TuxPaint' and 'KuKu'.

mikus


p.s.  [I had already increased the values in the 'rainbow' script.]

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Rainbow 0.7.12 Announcement

2008-05-05 Thread Michael Stone
Folks,

I've released a new rainbow, version 0.7.12 into Joyride in order to
solicit more widespread testing of some changes that I'd like to
incorporate into our next release. This version has some tasty things
like
 
 - delayed rainbow startup (which will allow X to win the rainbow/X
   startup race [#6797] more frequently) contributed by Blake Setlow, 

 - "fail-safe" handling of preloading-related import errors, and
   
 - a compatibility patch which makes $HOME writable by activities by
   setting $HOME and $SAR/instance equal to one another.

The final patch requires that we diverge from the version-1-spool-format
used by previous versions of rainbow. User applications which
automatically always follow symlinks should require no changes; however,
prior versions of Rainbow's uid garbage collector will complain noisily
at boot and will probably be unable to collect uids allocated by
rainbow-0.7.12 or later. Prior versions of Rainbow may become unable to
launch activities which have been launched by rainbow-0.7.12 or later.

If either of these issues sound like trouble, we can bump the spool
format version number (i.e. start locating version 2 spools in
/home/olpc/isolation/2/), provide a migration tool, and propagate the
change throughout client software. (The only software that I know of
which cares is the DataStore, and it's easily patched.)

Comments?

Michael

P.S. - Further review of the diffs from the rainbow-0.7.11 to
rainbow-0.7.12 tags in the security repo is quite welcome. Please don't
be shy if you see ways that this code can be improved!
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel