[Pbuilder-maint] Bug#382977: fails to umount with internal pdebuild

martin f krafft madduck at debian.org
Mon Aug 14 12:44:25 UTC 2006


Package: pbuilder
Version: 0.156
Severity: normal

If I use the internel pdebuild, the process fails to umount one of
my bind mounts after the build is complete:

 -> unmounting /tmp/pbuilder-shared filesystem
umount: /tmp/pbuilder-shared: not mounted
umount: /tmp/pbuilder-shared: not mounted
W: Retrying to unmount /tmp/pbuilder-shared
umount: /var/cache/pbuilder/build//24872//tmp/pbuilder-shared: not mounted

  Could not unmount /tmp/pbuilder-shared, there might be some program 
  still using files in /proc (klogd?).
  Please check and kill the process manually so that I can unmount /tmp/pbuilder-shared

  This error is only happens with chroot; try using user-mode-linux to 
  avoid this message.


This is the relevant configuration:

lapse:~> grep -A3 shared ~/.pbuilderrc                                   #[353]
SHARED=/tmp/pbuilder-shared
mkdir -p $SHARED
chown $PBUID:$PBGID $SHARED
BINDMOUNTS="${BINDMOUNTS:+$BINDMOUNTS }$SHARED"


It *did* mount it:

Building the build Environment
[...]
-> Mounting /tmp/pbuilder-shared


The only way to solve this is by doing

mount -o bind /tmp/pbuilder-shared /var/cache/pbuilder/build//24872//tmp/pbuilder-shared


The same applies to all other bind mounts.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (750, 'unstable'), (500, 'testing'), (250, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages pbuilder depends on:
ii  cdebootstrap                  0.3.11     Bootstrap a Debian system
ii  coreutils                     5.97-3     The GNU core utilities
ii  debianutils                   2.17       Miscellaneous utilities specific t
ii  gcc                           4:4.1.1-5  The GNU C compiler
ii  wget                          1.10.2-2   retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.9.20     Scripts to make the life of a Debi
ii  fakeroot                      1.5.10     Gives a fake root environment
ii  sudo                          1.6.8p12-4 Provide limited super user privile

-- no debconf information

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <madduck at debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20060814/b8d9b5e8/attachment.pgp


More information about the Pbuilder-maint mailing list