[Bugs] #4389 sugar-build UNSP: Implement and document how to run Sugar in a Chroot environment.

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Jan 25 11:57:53 EST 2013


#4389: Implement and document how to run Sugar in a Chroot environment.
------------------------------------------+---------------------------------
    Reporter:  danielfrancis              |          Owner:  danielfrancis    
        Type:  task                       |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  not applicable   
   Component:  sugar-build                |        Version:  Git as of bugdate
    Severity:  Minor                      |       Keywords:                   
Distribution:  Ubuntu                     |   Status_field:  Assigned         
------------------------------------------+---------------------------------

Comment(by dnarvaez):

 First of all, this is awesome!

 Then some suggestions:

 * I think it needs a more specific name, like sugar-build-chroot, sugar-
 chroot-env or if you really hate chroot in the name maybe sugar-virtual-
 env. The current name doesn't make it very clear what the project is about
 (I would wonder how it is different from sugar-build for example).
 * Maybe before creating a user, print some text about what is going on? It
 was a bit surprising to me and I know how the chroot stuff works so it's
 probably going to surprise others more. (It asks for your passwords and
 you wonder what it is about).
 * I think documentation in the README make sense for now, but you should
 consider adding it to sugar-docs once this is more stable/tested. Just so
 that readers don't need to jump through and can read in a consistent
 format.
 * I'm not sure why there is a dependency on a running X server, but if
 it's possible to remove it, it would be nice. sugar-build itself doesn't
 require one.
 * Announce it on the mailing list! :)

 And a bug report:

 initctl: Unable to connect to Upstart: Failed to connect to socket
 /com/ubuntu/upstart: Connection refused
 start: Unable to connect to Upstart: Failed to connect to socket
 /com/ubuntu/upstart: Connection refused
 invoke-rc.d: initscript dbus, action "start" failed.
 dpkg: error processing dbus (--configure):
  subprocess installed post-installation script returned error exit status
 1

 This is on debian wheezy (it's a sugar-build supported distribution, but
 still).

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4389#comment:12>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list