Bug#827724: findutils: find -type f matches symlinks in armel armhf and mipsel
Package: findutils
Version: 4.6.0+git+20160126-3
Severity: critical
Justification: breaks unrelated software
Hi,
The new version of find has a weird behaviour, at least in the arches: armhf armel and mipsel.
As simple test:
dir=$(mktemp -d)
cd $dir
ln -s a b
find -type f
Shows ./b while it shouldn't.
Interestingly:
$ find -type l
find: Duplicate file type 'l' in the argument list to -type
Both examples work fine in amd64.
I haven't followed the code thoroughly, but it seems that the type is using a
float to hold a bit mask, maybe this is not so well behaved in all arches.
This breaks dh_md5summs in the mentioned arches, producing a number of
ftbfs's, and probably many other things, thus the severity.
Happy hacking,
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf
Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages findutils depends on:
ii libc6 2.22-11
ii libselinux1 2.5-3
findutils recommends no packages.
Versions of packages findutils suggests:
ii mlocate 0.26-1
-- no debconf information
Reply to: