I'm a fan of this change. In the case where one is building livecds in a mock chroot,
this solves the issue where livecd-creator dies for some reason and leaves loopback
devices mounted.
On the other hand, if the user mounted something manually in the chroot, this will take it
down without notice. I'm not sure if that is a use case worth considering though.
- Jay
----- "Alan Franzoni" <mailing(a)franzoni.eu> wrote:
Hello, after getting some errors about unmount in mock, most probably
caused by binfmt_misc issues - somewhere some package I was building did indeed trigger
some "automagic" binfmt_misc mount under /proc/sys, I decided to patch mock to
just unmount *all* directories that have been mounted under such chroot, no matter who
mounted them or how they got mounted. The patch is attached. I'd open a ticket here:
https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora%20Hosted%20Proje...
but even though I registered I get this message: Sorry, entering a bug into the product
Fedora Hosted Projects has been disabled. -- Alan Franzoni -- contact me at
public(a)[mysurname].eu
-- buildsys mailing list buildsys(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys