I think I have this solved, but since there are a couple of problems
described in this thread I'll state the problem I was seeing:

1) Open mythbuntu-control-centre
2) Click diskless server -> open terminal
3) in terminal (that is now in the changeroot) run "mythbuntu-control-centre"
4) click applications and plugins
5) click something (eg mythcontrols)
6) click apply
7) in confirmation box, click apply

The progress box then appears and hangs, with cpu going to 100% on a
python process

My example isn't the only way to cause the problem, but I wanted to give
a specific reproducer.

The root cause of the problem was that the forkpty in
InstallProgressAdapter::fork() was failing.  Thus, no child process came
along to update the progress box which was hanging in
InstallProgressAdapter::waitChild() waiting for the nonexisting child to
exit.

The forkpty failed because /dev/pts isn't mounted in the changeroot.  My
patch updates MythbuntuControlCentre's core.py to mount --bind and
unmount /dev/pts in the approprate places in ControlCentre.

--Jack

** Attachment added: "patch to mount --bind /dev/pts inside the changeroot"
   http://launchpadlibrarian.net/30017609/mbc.patch

-- 
cannot install packages using MCC in diskless chroot
https://bugs.launchpad.net/bugs/214074
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to