Package: checksecurity
Version: 2.0.14
Severity: normal

Dear Maintainer,

the check-setuid plugin triggers the follwoing warning message from find:

find: warning: you have specified the -ignore_readdir_race option after a 
non-option argument (, but options are not positional (-ignore_readdir_race 
affects tests specified before it as well as those specified after it).  Please 
specify options before other arguments.

Attached is a patch that corrects the invocation of find in check-setuid

Thanks for considering applying.

 Regards,

  Raoul

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

Kernel: Linux 3.9-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages checksecurity depends on:
ii  cron                   3.0pl1-124
ii  debconf [debconf-2.0]  1.5.50
ii  perl                   5.14.2-21
ii  util-linux             2.20.1-5.4

Versions of packages checksecurity recommends:
ii  logcheck  1.3.15
ii  tiger     1:3.2.3-10
ii  tripwire  2.4.2.2-2

Versions of packages checksecurity suggests:
ii  cron-apt        0.9.2
ii  lockfile-progs  0.1.17

-- debconf information:
--- check-setuid	2010-11-04 08:12:09.000000000 +0100
+++ /home/rgb/check-setuid	2013-06-26 12:20:44.000000000 +0200
@@ -98,10 +98,10 @@
 set -o noglob
 ionice -t -c3 \
 find `mount | grep -vE "$CHECKSECURITY_FILTER" | cut -d ' ' -f 3` \
+        -ignore_readdir_race  \
 	-xdev $PATHCHK \
 	\( -type f -perm +06000 -o \( \( -type b -o -type c \) \
 	$DEVCHK \) \) \
-        -ignore_readdir_race  \
 	-printf "%8i %5m %3n %-10u %-10g %9s %t %h/%f\n" |
 	sort -k 12 >$TMPSETUID
 set +o noglob

Reply via email to