Public bug reported:

Binary package hint: mic2

When I try to use mic2 ( ) in Ubuntu Natty, using the regular Natty
package (0.23.0), I get a Python error. Maybe it's fixed in 0.24.x,
though that's not packaged for Ubuntu Natty yet.

This is the full output:

[murrayc@murrayc-desktop ~]$ sudo mic-chroot ~/meego-chroot
[sudo] password for murrayc: 
+====================================================================================+
| WARNING: this script is very dangerous, it may damage your system data,       
     |
| so please use it carefully and read this warning seriously.                   
     |
|                                                                               
     |
| mic-chroot will create some temporary directories under /var/tmp, their names 
     |
| look like 'mic-tmp-*', mic-chroot also creates a directory to save image      
     |
| file system for chroot. For such directories, please use mic-rm-chroot-dir to 
     |
| remove, otherwise, you may remove your whole system by 'rm -rf <yourdir>' if 
you   |
| terminate mic-chroot because of some exceptions or unknown errors, the root   
     |
| cause is mic-chroot will bind mount / to chroot directory, exceptional        
     |
| terminations didn't unmount it, so you may damage your system, we have warned 
you. |
| Please use it very very carefully, and don't use 'rm -rf' for such 
directories,    |
| instead, use 'mic-rm-chroot-dir'                                              
     |
+====================================================================================+


Launching shell. Exit to continue.
----------------------------------
bind_mount: /proc -> /home/murrayc/meego-chroot//proc
bind_mount: /proc/sys/fs/binfmt_misc -> 
/home/murrayc/meego-chroot//proc/sys/fs/binfmt_misc
bind_mount: /sys -> /home/murrayc/meego-chroot//sys
bind_mount: /dev -> /home/murrayc/meego-chroot//dev
bind_mount: /dev/pts -> /home/murrayc/meego-chroot//dev/pts
bind_mount: /dev/shm -> /home/murrayc/meego-chroot//dev/shm
bind_mount: /var/lib/dbus -> /home/murrayc/meego-chroot//var/lib/dbus
bind_mount: /var/run/dbus -> /home/murrayc/meego-chroot//var/run/dbus
bind_mount: / -> /home/murrayc/meego-chroot//parentroot
bind_mount: /lib/modules/2.6.32-25-generic -> 
/home/murrayc/meego-chroot//lib/modules/2.6.32-25-generic
bind_mount: /lib/modules/2.6.35-22-generic -> 
/home/murrayc/meego-chroot//lib/modules/2.6.35-22-generic
bind_mount: /lib/modules/2.6.38-8-generic -> 
/home/murrayc/meego-chroot//lib/modules/2.6.38-8-generic
bind_mount: /lib/modules/2.6.31-22-generic -> 
/home/murrayc/meego-chroot//lib/modules/2.6.31-22-generic
Traceback (most recent call last):
  File "/usr/bin/mic-chroot", line 254, in <module>
    sys.exit(main())
  File "/usr/bin/mic-chroot", line 229, in main
    chroot.chroot(options.saveto, bindmounts = options.bindmounts, execute = 
options.execute)
  File "/usr/lib/pymodules/python2.7/mic/chroot/chroot.py", line 440, in chroot
    cleanup_chrootenv(chrootdir, bindmounts, globalmounts)
UnboundLocalError: local variable 'globalmounts' referenced before assignment

** Affects: mic2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/799642

Title:
  local variable 'globalmounts' referenced before assignment

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mic2/+bug/799642/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to