[Pkg-sysvinit-devel] Bug#391673: initscripts: TMPFS_MTPTS in umountfs must be ordered (one line patch)

Peter Rabbitson rabbit at rabbit.us
Sun Oct 8 00:01:28 UTC 2006


Package: initscripts
Version: 2.86.ds1-33
Severity: normal
Tags: patch


While unmounting temporary filesystems they must be unmounted in pioodl
order just as the regular filesystems. Usual debian installs do not have
problems not doing so, as there is only a couple of such filesystems 
(namely udev and shm). However with a persistent chroot environment, with
many bindings hardcoded in fstab shutdowns usually end up with a bunch of 
errors (mainly not able to umount /chroot/dev/ as /chroot/dev/shm/ and 
/chroot/dev/pts/ are still mounted). As those are temp filesystems anyway
it is not that big of a deal, otoh this extra line gets rid of red errors
which is nice.

Cheers

=== BEGIN PATCH
--- /etc/init.d/umountfs.orig   2006-10-06 20:07:06.000000000 +0200
+++ /etc/init.d/umountfs        2006-10-08 01:40:09.000000000 +0200
@@ -102,6 +102,7 @@
        #
        if [ "$TMPFS_MTPTS" ]
        then
+               TMPFS_MTPTS="$(pioodl $TMPFS_MTPTS)"
                if [ "$VERBOSE" = no ]
                then
                        log_action_begin_msg "Unmounting temporary filesystems"
=== END PATCH

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.7.tr6
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages initscripts depends on:
ii  debianutils                  2.17.3      Miscellaneous utilities specific t
ii  e2fsprogs                    1.39-1.1    ext2 file system utilities and lib
ii  libc6                        2.3.6.ds1-5 GNU C Library: Shared libraries
ii  lsb-base                     3.1-17      Linux Standard Base 3.1 init scrip
ii  mount                        2.12r-11    Tools for mounting and manipulatin
ii  sysvinit-utils               2.86.ds1-33 System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.3-1     Utilities that use the proc filesy

-- no debconf information




More information about the Pkg-sysvinit-devel mailing list