FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 03-15-2010, 12:29 PM
Alan Franzoni
 
Default mock patch proposal: unmount everything mounted under chroot

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%20Projects&c omponent=mock

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@[mysurname].eu
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 03-15-2010, 03:00 PM
Jay Greguske
 
Default mock patch proposal: unmount everything mounted under chroot

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@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%20Projects&c omponent=mock

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@[mysurname].eu

> --
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 11:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org