Package: initscripts Version: 2.87dsf-10 Severity: normal Upon a reboot, I noticed grep complaining about an invalid back reference. The message comes from umountfs, here's a shell script with the relevant excerpt to reproduce the error:
--8<---------------cut here---------------start------------->8--- #!/bin/sh exec 9<&0 </proc/mounts PROTECTED_MOUNTS="$(sed -n '0,/^\/[^ ]* \/ /p' /proc/mounts)" while read -r DEV MTPT FSTYPE REST do echo "$PROTECTED_MOUNTS" | grep -qs "^$DEV $MTPT " && continue done --8<---------------cut here---------------end--------------->8--- Running this script leads to a "grep: Invalid back reference" error message here. For the reference, these are the contents of /proc/mounts: ,---- | rootfs / rootfs rw 0 0 | none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 | none /proc proc rw,nosuid,nodev,noexec,relatime 0 0 | udev /dev tmpfs rw,relatime,size=10240k,mode=755 0 0 | /dev/disk/by-label/\134x2f / ext2 rw,relatime,errors=remount-ro,barrier=1,data=writeback 0 0 | tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0 | tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0 | devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0 | tmpfs /tmp tmpfs rw,nosuid,nodev,relatime 0 0 | /dev/sda6 /usr ext4 rw,nodev,relatime,barrier=1,data=ordered 0 0 | /dev/sda5 /var ext4 rw,relatime,barrier=1,data=ordered 0 0 | /dev/sda7 /usr/local ext4 rw,relatime,barrier=1,data=ordered 0 0 | /dev/sda8 /home ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0 `---- -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (x86_64) Kernel: Linux 2.6.33.1-nouveau (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages initscripts depends on: ii coreutils 8.4-2 GNU core utilities ii debianutils 3.2.2 Miscellaneous utilities specific t ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip ii mount 2.16.2-0 Tools for mounting and manipulatin ii sysv-rc 2.87dsf-10 System-V-like runlevel change mech ii sysvinit-utils 2.87dsf-10 System-V-like utilities Versions of packages initscripts recommends: ii e2fsprogs 1.41.11-1 ext2/ext3/ext4 file system utiliti ii psmisc 22.10-1 utilities that use the proc file s initscripts suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org