mock: chroot proc busy when unmounting

Clark Williams williams at redhat.com
Wed Feb 24 21:30:16 UTC 2010


On Wed, 24 Feb 2010 11:15:05 +0100
Alan Franzoni <mailing at franzoni.eu> wrote:

> Hello,
> I tried catting /proc/mounts as well and I discovered this nested mount
> under proc in the chroot:
> 
> 
> none on /var/lib/mock/rhel5-unstable-x86_64/root/proc/sys/fs/binfmt_misc
> type binfmt_misc (rw)
> 
> Adding it to umountCmds fixed my issue.
> 
> This doesn't seem to get mounted explicitly by mock, hence I think it's
> something happening inside the chroot that triggers its mount? I'm not
> really an expert in rhel/fedora internals, any clue?
> 
> Alan Franzoni
> 
> 

Alan, 

The only things we mount from mock are: /proc, /sys, /dev/pts
and /dev/shm.

What package(s) are you building?

Clark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/buildsys/attachments/20100224/075e4de9/attachment.bin 


More information about the buildsys mailing list