Bug#851640: --debbuildopts not propagated anymore to cowbuilder

Mattia Rizzolo mattia at debian.org
Tue Jan 17 15:12:57 UTC 2017


On Tue, Jan 17, 2017 at 01:41:58PM +0100, Vincent Bernat wrote:
> Cannot test right now, but at the end of the build, cowbuilder complain
> about not being able to unmount /dev/shm because it's busy. I assumed
> this was because the use of a more recent pbuilder turned into a symlink
> or the reverse.

umh, though that's still not supposed to happen.  From what I could see
mount and umount follow symlinks without any problem:

mattia at warren /tmp % l
total 236
drwxr-xr-x 2 mattia mattia  4096 Jan 17 16:02 a
lrwxrwxrwx 1 mattia mattia     1 Jan 17 16:02 b -> a
...
mattia at warren /tmp % sudo mount -t tmpfs tmpfs b
mattia at warren /tmp % sudo mount -t tmpfs tmpfs b
mattia at warren /tmp % sudo mount -t tmpfs tmpfs b
mattia at warren /tmp % sudo mount -t tmpfs tmpfs a
mattia at warren /tmp % sudo mount -t tmpfs tmpfs a
mattia at warren /tmp % mount|grep $PWD
tmpfs on /tmp/a type tmpfs (rw,relatime)
tmpfs on /tmp/a type tmpfs (rw,relatime)
tmpfs on /tmp/a type tmpfs (rw,relatime)
tmpfs on /tmp/a type tmpfs (rw,relatime)
tmpfs on /tmp/a type tmpfs (rw,relatime)
mattia at warren /tmp % sudo umount b
mattia at warren /tmp % sudo umount a
mattia at warren /tmp % sudo umount a
mattia at warren /tmp % sudo umount b
mattia at warren /tmp % mount|grep $PWD
tmpfs on /tmp/a type tmpfs (rw,relatime)
mattia at warren /tmp % sudo umount a
mattia at warren /tmp % 


Also tests run by James show that upgrading pbuilder, running --update,
then downgrade pbuilder, --login and exit works without problems.

Do you have any BINDMOUNT configured for shm?  anything strange?
Mind you, we already have a similar bug which I could reproduce
involving updating a sqeeze chroot to wheezy (#709053), is what you see
something similar?  Alas I could not understand what is the root cause
of it (I have an idea it's due to the initscripts update, but I'm not
even sure), so I don't really know how to fix that particular instance,
but if you could take the time to see what goes wrong in your case, I'd
be really greatful! :)

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20170117/8ab35c76/attachment.sig>


More information about the Pbuilder-maint mailing list