* Thomas Lange [Tue Sep 02, 2014 at 07:50:23AM +0200]:

> it would be nice if you could debug your pbuilder setup and give more
> detailed information what pbuilder is doing concerning mount points.

> Since I'm not using pbuilder, I will be able to debug this in more
> details on my own.

Execute:

  sudo cowbuilder --create --basepath /var/cache/pbuilder/base.cow 
--distribution wheezy --debootstrapopts --variant=buildd

to set up the environment and:

  sudo cowbuilder --bindmounts /var/cache/pbuilder/build --build fai*.dsc

to build a package within such a cowbuilder environment.

The problem is FAI's usage of mount --make-runbindable, quoting
linux-2.6.git/Documentation/filesystems/sharedsubtree.txt

| 2d) A unbindable mount is a unbindable private mount
|
|         let's say we have a mount at /mnt and we make is unbindable
|
|         # mount --make-unbindable /mnt
|
|          Let's try to bind mount this mount somewhere else.
|          # mount --bind /mnt /tmp
|          mount: wrong fs type, bad option, bad superblock on /mnt,
|                 or too many mounted file systems
|
|         Binding a unbindable mount is a invalid operation.

This is exactly what happens, FAI locks the file system WRT bind
mounting it somewhere else, so cowbuilder fails to run with its own
bindmount.

regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to