If, before calling `umount "$ROOT/proc"`, I run:
$ chroot "$ROOT" invoke-rc.d binfmt-support stop
then umount works cleanly.

BUT I'm losing "cli" and "wine" from /proc/sys/fs/binfmt_misc/ on the *real* fs 
tree, so I then have to run
$ invoke-rc.d binfmt-support start
on the real tree to get them back... so I don't think that qualifies as an 
acceptable solution.

Would it be possible to completely divert update-binfmts in the chroot (and 
replace it with `true`), and still have everything working properly?
I.e. is the update-binfmts call in wine1.2.postinst (and in the java postinst 
etc) required, or is putting the "cli", "jar", "wine" etc files in 
/usr/share/binfmts enough?

-- 
Cannot umount /proc after using update-binfmts in a chroot
https://bugs.launchpad.net/bugs/534211
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to