Your message dated Sun, 24 Jan 2016 22:05:13 +0000
with message-id <[email protected]>
and subject line pbuilder-uml has been removed, closing bugs
has caused the Debian Bug report #429517,
regarding pbuilder-uml tries to umount /proc and loops retrying to umount
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
429517: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=429517
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pbuilder-uml
Version: 0.169
Severity: normal
Tags: patch

Hi!

as said I think commit 9f3ae5e65a2fc1dcd9394736d4a08fec239f2939
introduced that bug. A simple check on INTERNAL_BUILD_UML to ignore the
umount error can do.
To reproduce:
$ echo "apt-get install --reinstall -y klogd" > test.sh
$ pbuilder-user-mode-linux execute --uml-login-nocow test.sh

with the attached patch pbuilder starts /etc/init.d/killprocs to get rid
of all useless processes and unmounts again the filesystem.
Don't know if it's absolutely a good idea but it works and the
filesystem stays clean after shutdown.

thoughts?

Mattia

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (300, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-rc4-mm2-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB, LC_CTYPE=ja_JP (charmap=EUC-JP)
Shell: /bin/sh linked to /bin/bash

Versions of packages pbuilder-uml depends on:
ii  pbuilder                    0.169        personal package builder for Debia
ii  rootstrap                   0.3.24-3     A tool for building complete Linux
ii  user-mode-linux             2.6.21-1um-1 User-mode Linux (kernel)

pbuilder-uml recommends no packages.

-- no debconf information
-- 
mattia
:wq!
diff --git a/pbuilder-modules b/pbuilder-modules
index 309bf8e..d0dc514 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -146,7 +146,14 @@ function umount_one () {
             :
             ;;
         esac
-        if [ "$ignore_umount_error" != "yes" ]; then
+	if [ "$ignore_umount_error" != "yes" ] &&
+		[ "${INTERNAL_BUILD_UML}" = "yes" ]; then
+	    echo "W: umount errors in user-mode-linux, trying to kill blocking processes" >&2
+	    /etc/init.d/killprocs start
+	    echo "W: unmounting /$1 again" >&2
+	    umount "$BUILDPLACE/$1"
+
+        elif [ "$ignore_umount_error" != "yes" ]; then
 	    echo "W: Retrying to unmount $1 in 5s"
 	    sleep 5s
 	    while ! umount "$BUILDPLACE/$1"; do

--- End Message ---
--- Begin Message ---
Version: 0.222+rm

pbuilder-uml is really not widely used.  u-m-l is itself badly
maintained, and broken most of the time, at the point this afternoon I
filed RM bugs to have it completely removed from the archive.

After some consideration I came to the point removing pbuilder-uml was
the right choice.  Since pbuilder-uml is not anymore a thing, I'm
closing related bugs.

Thanks for watching, and sorry if this somehow disrupted your workflow
or something.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to