Package: dash
Version: 0.5.5.1-3
Severity: grave
Justification: doing the opposite of what people asked for could do _anything_

Dash should not implement -nt at all if it wants to be strict about
things that aren't POSIX.  If it is going to implement non standard
things from other sources, then it absolutely should not be inventing
entirely new behaviours for them from whole cloth, let alone completely
reversing the logic of existing long established code.

Doing that could easily introduce any of the scenarios defined for a
'critical' bug, but I don't want to get all handwavy about the severity,
I just think this is an RC issue that should be fixed for squeeze (but
it's not really a -policy thing else I'd have probably just made it
'serious').

$ bash
$ test "/bin/ls" -nt "no-such-file" || echo "oh ffs :("
$ /usr/bin/test "/bin/ls" -nt "no-such-file" || echo "oh ffs :("
$ dash
$ test "/bin/ls" -nt "no-such-file" || echo "oh ffs :("
oh ffs :(

Now imagine that's checking something important to the integrity of
the system ...

Please fix this.  Even if it's just to remove -nt entirely and have
such scripts _obviously_ break rather than silently doing the exact
opposite of what they always have in the past.  People who've had
systems running Debian for years deserve more from us than this.

Thanks,
Ron


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dash depends on:
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
hi  dpkg                          1.15.3.1   Debian package management system
ii  libc6                         2.10.1-7   GNU C Library: Shared libraries

dash recommends no packages.

dash suggests no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to