tags 626826 + fixed-upstream pending thanks On Sun, May 15, 2011 at 07:25:19PM +0200, Jakub Wilk wrote: > Package: sbuild > Version: 0.62.2-1 > > Due to the advent of /run, I manually changed layout of my chroots, > so that they look like this: > > $ ls -ld /srv/chroots/unstable-i386/{var,run}/lock > drwxrwxrwt 2 root root 4096 May 15 01:19 /srv/chroots/unstable-i386/run/lock > lrwxrwxrwx 1 root root 9 May 15 14:59 /srv/chroots/unstable-i386/var/lock > -> /run/lock > > Unfortunately, sbuild is not happy with such a layout, and I cannot > build more than one package in parallel (even though I use cloned > chroots, so it should be possible). I get this message instead: > > Another sbuild process (job zlib_1.2.3.4.dfsg-3, pid 5534 by user sbuild) is > currently using the build chroot; waiting... > > It looks like sbuild uses /run/lock from the outside of the chroot. > When I changed the symlink to a relative one, the problem > disappeared.
I moved to using /var/lib/sbuild/chroot-lock (inside the chroot) which prevents the use of /run/lock/sbuild on the host, so this won't cause problems for parallel builds. 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.
signature.asc
Description: Digital signature