[Pkg-sysvinit-devel] Bug#351497: initscripts: possibly wrong comment in /etc/init.d/umountfs

Marc Haber mh+debian-bugs at zugschlus.de
Sun Feb 5 10:01:11 UTC 2006


Package: initscripts
Version: 2.86.ds1-11
Severity: normal

Hi,

this is from /etc/init.d/umountfs:

	# List all mounts, deepest mount point first
	LC_ALL=C sort -r -k 2 /proc/mounts | 

I don't see any "deepest mount point first" here, the sort will just
sort the mounts alphabetically reversed:

$ LC_ALL=C sort -r -k 2 /proc/mounts
tmpfs /tmp tmpfs rw 0 0
sysfs /sys sysfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
proc /proc proc rw,nodiratime 0 0
/dev/mapper/vg0-var /mnt/var ext3 rw,data=ordered 0 0
/dev/mapper/vg0-usr /mnt/usr ext3 rw,data=ordered 0 0
/dev/mapper/vg0-home /mnt/home ext3 rw,data=ordered 0 0
sysfs /mnt/bigstuff/home/mh/chroot/sid/sys sysfs rw 0 0
usbfs /mnt/bigstuff/home/mh/chroot/sid/proc/bus/usb usbfs rw 0 0
proc /mnt/bigstuff/home/mh/chroot/sid/proc proc rw,nodiratime 0 0
tmpfs /mnt/bigstuff/home/mh/chroot/sid/dev/shm tmpfs rw 0 0
devpts /mnt/bigstuff/home/mh/chroot/sid/dev/pts devpts rw 0 0
/dev/mapper/vg0-bigstuff /mnt/bigstuff ext3 rw,data=ordered 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/root /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /dev tmpfs rw 0 0
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,data=ordered 0 0
$

I think the comment is correct and the code wrong, hence the "normal"
severity.

Greetings
Marc

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.2-zgsrv
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages initscripts depends on:
ii  debianutils   2.15.2                     Miscellaneous utilities specific t
ii  e2fsprogs     1.38+1.39-WIP-2005.12.31-1 ext2 file system utilities and lib
ii  libc6         2.3.5-12.1                 GNU C Library: Shared libraries an
ii  lsb-base      3.0-15                     Linux Standard Base 3.0 init scrip
ii  mount         2.12r-6                    Tools for mounting and manipulatin

initscripts recommends no packages.

-- no debconf information




More information about the Pkg-sysvinit-devel mailing list