Package: release.debian.org Severity: normal Tags: wheezy User: [email protected] Usertags: pu
Hello release people, finally time to get some stable updates… Here's the bug report I'd like to address in wheezy: “debootstrap: host's /run/shm gets unmounted after debootstrap run” (https://bugs.debian.org/753442). I'll have to check it inside a VM soon-ish (because I don't seem to have any hosts running wheezy at the moment), but given the change that got backported and the fact we've had the fix in testing, and in backports for quite a while, I don't seem to have so many doubts about it. Here's the changelog, full patch attached. | debootstrap (1.0.48+deb7u3) wheezy; urgency=medium | | [ Colin Watson ] | * Resolve mount point symlinks relative to the target chroot before | unmounting them (closes: #702861, #703037, #704744, #753442). | | -- Cyril Brulebois <[email protected]> Wed, 08 Apr 2015 21:41:26 +0200 Thanks for your time. Mraw, KiBi.
diff -Nru debootstrap-1.0.48+deb7u2/debian/changelog debootstrap-1.0.48+deb7u3/debian/changelog --- debootstrap-1.0.48+deb7u2/debian/changelog 2014-11-07 13:56:39.000000000 +0100 +++ debootstrap-1.0.48+deb7u3/debian/changelog 2015-04-08 21:45:22.000000000 +0200 @@ -1,3 +1,11 @@ +debootstrap (1.0.48+deb7u3) wheezy; urgency=medium + + [ Colin Watson ] + * Resolve mount point symlinks relative to the target chroot before + unmounting them (closes: #702861, #703037, #704744, #753442). + + -- Cyril Brulebois <[email protected]> Wed, 08 Apr 2015 21:41:26 +0200 + debootstrap (1.0.48+deb7u2) wheezy; urgency=low [ Cyril Brulebois ] diff -Nru debootstrap-1.0.48+deb7u2/functions debootstrap-1.0.48+deb7u3/functions --- debootstrap-1.0.48+deb7u2/functions 2014-10-23 17:32:52.000000000 +0200 +++ debootstrap-1.0.48+deb7u3/functions 2015-04-08 21:40:31.000000000 +0200 @@ -953,8 +953,11 @@ UMOUNT_DIRS= umount_exit_function () { + local realdir for dir in $UMOUNT_DIRS; do - ( cd / ; umount "$TARGET/${dir#/}" ) || true + realdir="$(in_target_nofail readlink -f "$dir")" + [ "$realdir" ] || continue + ( cd / ; umount "$TARGET/${realdir#/}" ) || true done }

