[sugar] Browse v86 rainbow issue on update 1-706?

Gary C Martin gary
Sun Jun 1 15:29:57 EDT 2008


On 29 May 2008, at 03:58, Martin Dengler wrote:

> On Thu, May 29, 2008 at 03:42:55AM +0100, Gary C Martin wrote:
>> On 28 May 2008, at 18:55, Martin Dengler wrote:
>>> Is this rainbow racing with X, or is that in joyride only?
>>
>> Sorry, not sure. I'm back on joyride now and Browse seems quite happy
>> there.
>
> I was away from the web earlier and couldn't look up the trac for what
> I was referring to: http://dev.laptop.org/ticket/6797 (in case it
> happens again).


Martin, thanks for your suggestion.

OK, I've just gone back and re-installed 706 again on the B4 I have  
here to give this another try.

Browse v86 is still failing to launch after repeated reboots. I've  
added the content of its log file to the end of this email. BTW: using  
cat on the file was a good hint as you get to see its content color  
coded, pity Log activity doesn't interpret them the same way (Log  
shows all the nasty console escape codes).

No idea if "rainbow racing with X" was a red-herring or not, ticket  
6797 didn't say what to expect to see from such a condition, or how to  
test for it. Seeing as Browse consistently fails to launch, a race  
condition seems less plausible to me, I'd expect a race condition to  
occasionally have a different outcome.

Couple of quick notes/questions:

1) Who is 706 actually targeted at? G1G1? One of the country installs?  
I can't find any public description of who this is meant for, or what  
set of base activities to test against. No reference to 706 on the  
wiki or where to post test results (hence me blindly emailing the list).

2) Could someone clarify version naming. Is the 706 build leading to  
"update-1.1" and how does this tie in with the upstream 81.x and 82.x  
work from the SugarLabs side? Does the roadmap at http://dev.laptop.org/roadmap 
  still have any worth? It seems a fairly random collection of slipped  
dates and misc features these days.

3) Did update-1 ever formally happen? It never seemed to get  
announced, there was a request for testing 703, and then it all went  
quiet.

Apologies if I'm raining on someone's parade here.

--Gary

P.S. Here's the failed WebActivity log for 706:

groupadd: group 10001 exists
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
---------------------------------------------------------------------------
<type 'exceptions.AssertionError'>        Traceback (most recent call  
last)

/usr/lib/python2.5/site-packages/rainbow/service.py in  
CreateActivity(self=<rainbow.service.Rainbow at / at 0x82fc50c>,  
log_path=dbus.UTF8String('/home/olpc/.sugar/default/logs/ 
org.laptop.WebActivity-1.log'),  
env=dbus.Dictionary({dbus.UTF8String('LANG'):  
dbus.U...c/.Xauthority')}, signature=dbus.Signature('ss')),  
argv=dbus.Array([dbus.UTF8String('sugar-activity'),  
d...f6c06344ec478b')], signature=dbus.Signature('s')),  
bundle_path=dbus.UTF8String('/home/olpc/Activities/Web.activity'),  
bundle_id=dbus.UTF8String('org.laptop.WebActivity'),  
success_cont=<function <lambda> at 0x82fef7c>, error_cont=<function  
<lambda> at 0x82fefb4>)
      58                     ret = inject.run(log, SPOOL, env, argv,  
env['SUGAR_BUNDLE_PATH'], (1, 2),
      59                             env.get('RAINBOW_STRACE_LOG'),  
500, 500, bundle_path, bundle_id,
---> 60                             env.get('RAINBOW_CONSTANT_UID'))
         env.get = <built-in method get of dbus.Dictionary object at  
0x839392c>
      61                 except Exception, e:
      62                     util.trace()

/usr/lib/python2.5/site-packages/rainbow/inject.py in  
run(log=<function log at 0x82fe09c>, spool='/home/olpc/isolation/1',  
env=dbus.Dictionary({dbus.UTF8String('LANG'):  
dbus.U...c/.Xauthority')}, signature=dbus.Signature('ss')),  
argv=dbus.Array([dbus.UTF8String('sugar-activity'),  
d...f6c06344ec478b')], signature=dbus.Signature('s')),  
cwd=dbus.UTF8String('/home/olpc/Activities/Web.activity'),  
safe_fds=(1, 2), strace_hint=None, owner_uid=500, owner_gid=500,  
bundle_path=dbus.UTF8String('/home/olpc/Activities/Web.activity'),  
bundle_id=dbus.UTF8String('org.laptop.WebActivity'),  
constant_uid=dbus.UTF8String('yes'))
     267     check_home_dirs(uid, gid, home)
     268     check_home_dirs(owner_uid, owner_gid, home)
--> 269     check_home(uid, gid, home)
         global check_home = <function check_home at 0x839ef7c>
         uid = 10001
         gid = 10001
         home = '/home/olpc/isolation/1/uid_to_home_dir/10001'
     270     check_bundle_path(uid, gid, bundle_path)
     271

/usr/lib/python2.5/site-packages/rainbow/inject.py in  
check_home(uid=10001, gid=10001, home='/home/olpc/isolation/1/ 
uid_to_home_dir/10001')
     246     ck = Checker(home, uid, gid)
     247     assert ck.positive(R_OK | X_OK, S_IFDIR)
--> 248     assert ck.negative(W_OK, 0)
         ck.negative = <bound method Checker.negative of  
<rainbow.util.check_access.Checker object at 0x82ffd4c>>
         global W_OK = 2
     249
     250 def run(log, spool, env, argv, cwd, safe_fds, strace_hint,

<type 'exceptions.AssertionError'>:





More information about the Sugar-devel mailing list