[Pkg-uml-pkgs] Bug#372905: rootstrap: modules/uml does not umount /proc

Andreas Beckmann debian at abeckmann.de
Mon Jun 12 12:46:51 UTC 2006


Package: rootstrap
Version: 0.3.22-1
Severity: normal
Tags: patch

Hi,

the module uml mounts $TARGET/proc, but doesn't umount it again.
This breaks any user supplied modules that are run after 'uml' and try
to mount/umount /proc themselves.


Andreas

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable'), (30, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-vserver-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages rootstrap depends on:
ii  debootstrap                 0.3.3        Bootstrap a basic Debian system
ii  dpkg                        1.13.19      package maintenance system for Deb
ii  python                      2.3.5-5      An interactive high-level object-o
ii  user-mode-linux             2.6.16-2um-1 User-mode Linux (kernel)

Versions of packages rootstrap recommends:
ii  uml-utilities                 20060323-3 User-mode Linux (utility programs)

-- no debconf information
-------------- next part --------------
diff -ur modules.org2/uml modules/uml
--- modules.org2/uml	2006-05-27 17:24:47.000000000 +0200
+++ modules/uml	2006-06-12 14:43:30.000000000 +0200
@@ -6,6 +6,7 @@
 	NEW_TTY="$NEW_TTY tty$i"
 done
 chroot $TARGET /bin/sh -c "cd /dev && ./MAKEDEV ubd std $NEW_TTY"
+umount $TARGET/proc
 
 # generate a new fstab
 cat <<EOF > $TARGET/etc/fstab


More information about the Pkg-uml-pkgs mailing list