Bug#810145: pbuiler: find a way to mount /run/shm even if some other process is accessing it

Sandro Tosi morph at debian.org
Wed Jan 6 22:45:39 UTC 2016


Package: pbuilder
Version: 0.220
Severity: normal

Hello,
when destroying the chroot, pbuilder umount run/shm, but if another process on
the system is accessing /run/shm then pbuilder keeps saying:

umount: /var/cache/pbuilder/build/11273/run/shm: target is busy
        (In some cases useful info about processes that
         use the device is found by lsof(8) or fuser(1).)

  This error only affects chroots; you may want to use
  user-mode-linux to avoid this message.


I would really prefer not to use u-m-l, so maybe you can consider other ways to
mount/umount /run/shm, like --bind-mount or --lazy umount, or any other
(better!) way to achieve the same result: dont error out if /run/shm is busy
when exiting the build env.

Thanks,
Sandro


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pbuilder depends on:
ii  debconf [debconf-2.0]  1.5.58
ii  debootstrap            1.0.75
ii  dpkg-dev               1.18.3
ii  wget                   1.17-1

Versions of packages pbuilder recommends:
ii  devscripts  2.15.9
ii  fakeroot    1.20.2-1
ii  iproute2    4.1.1-1
ii  net-tools   1.60+git20150829.73cef8a-2
ii  sudo        1.8.12-1

Versions of packages pbuilder suggests:
ii  cowdancer     0.75
ii  gdebi-core    0.9.5.7
pn  pbuilder-uml  <none>

-- debconf information excluded



More information about the Pbuilder-maint mailing list