[buildd-tools-devel] Bug#605526: Bug#605526: schroot: aufs-tools -> auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Invalid argument

Roger Leigh rleigh at codelibre.net
Wed Dec 1 09:32:40 UTC 2010


reassign 605526 aufs-tools
thanks

On Tue, Nov 30, 2010 at 11:18:04PM +0100, Jakub Wilk wrote:
> Package: schroot
> Version: 1.4.15-1
>
> I am using union-type=aufs for my chroots. After I installed aufs-tools,  
> schroot is no longer able to unmount (some?) filesystems:
>
> $ apt-cache policy aufs-tools | grep Installed
>   Installed: 20100601-1
>
> $ schroot echo 'Hello world!'
> Hello world!
> E: 10mount: auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Invalid argument
> E: 10mount: auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Invalid argument
> E: unstable-i386-d12334f7-d873-45d7-a64e-0fdab57dd990: Chroot setup failed: stage=setup-stop
>
>
> If you thinks aufs-tools is at fault here, free to reassign the bug to  
> the other package.

This is most likely the case.  schroot mounts the aufs overlay in the
setup script /etc/schroot/setup.d/10mount.  If you look at the script,
this basically boils down to a simple mount command:

  mount -t aufs <options>

The rest of the script is just setting the necessary options and
mounting other filesystems.  Since this will result in invoking
/sbin/mount.aufs to do the mount (which is in aufs-tools), I think
this is where the error is coming from.

You're using a 2.6.32 amd64 kernel, but it looks like you might have
an i386 32-bit userspace.  Is this correct?  If so, then

http://www.mail-archive.com/aufs-users@lists.sourceforge.net/msg02570.html
http://www.mail-archive.com/aufs-users@lists.sourceforge.net/msg02565.html

indicate there are issues using i386 aufs-tools with a 64-bit kernel.
Looks like it might be fixed upstream now, but I'm not sure about in
Debian.  If so, this is an RC bug in aufs-tools.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20101201/eafbfd1c/attachment.pgp>


More information about the Buildd-tools-devel mailing list