Package: fcron
Version: 2.9.5.1-1
Severity: minor

"command -v" is not POSIX.  The postrm uses it and has #!/bin/sh
at the top, so it violates policy 10.4.

Possible solutions:

* Using #!/bin/bash eliminates the 10.4 violation.  However, there
  remains the additional problem that "command -v" doesn't really work
  as a check whether or not a command is runnable.  The string that it
  outputs is not necessarily the pathname of an executable file.
  (See #291197.)
* Use the which program from debianutils.
* Use the trydo() function I posted to #291026.
* Use the findcommand() function posted by Tollef Fog Heen in #218530.
* Assume that suidunregister is at a fixed path and just use
  test -x <fixed-path>/suidunregister


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages fcron depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  debconf [debconf-2.0]       1.4.32       Debian configuration management sy
ii  dpkg                        1.10.26      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  libselinux1                 1.20-1       SELinux shared libraries
ii  postfix [mail-transport-age 2.1.5-5      A high-performance mail transport 
ii  sysklogd [system-log-daemon 1.4.1-16     System Logging Daemon

-- debconf information:
* fcron/anacronwarn:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to