Package: cron
Version: 3.0pl1-100

The package 'aptitude' provide cron script /etc/cron.daily/aptitude which uses cmp(). The executable cmp() is provided by package 'diff'. The dependency of 'aptitude' on 'diff' is not listed in the Debian control file for 'aptitude'.

$ more /etc/cron.daily/standard | grep 'cmp'
        cmp -s passwd.bak /etc/passwd || (cp -p /etc/passwd passwd.bak &&
        cmp -s group.bak /etc/group || (cp -p /etc/group group.bak &&
          cmp -s shadow.bak /etc/shadow || (cp -p /etc/shadow shadow.bak &&
cmp -s gshadow.bak /etc/gshadow || (cp -p /etc/gshadow gshadow.bak &&
    if ! cmp -s dpkg.status.0 /var/lib/dpkg/status ; then

$ dpkg -S /etc/cron.daily/standard
cron: /etc/cron.daily/standard

$ apt-cache depends cron
cron
  Depends: libc6
  Depends: libpam0g
  Depends: libselinux1
  Depends: debianutils
  Depends: adduser
  Depends: lsb-base
  Suggests: anacron
  Suggests: logrotate
  Suggests: lockfile-progs
  Suggests: checksecurity
 |Recommends: exim4
 |Recommends: postfix
  Recommends: <mail-transport-agent>
    courier-mta
    esmtp-run
    exim
    masqmail
    msmtp-mta
    nullmailer
    postfix
    sendmail-bin
    smail
    ssmtp
    xmail
    exim4-daemon-heavy
    exim4-daemon-light
  Conflicts: <suidmanager>
  Conflicts: lockfile-progs

I suggest including package 'diff' among the packages upon which 'cron' depends or removing the use of executable cmp() in /etc/cron.daily/standard.

I am using Debian GNU/Linux 4.1.1-21, kernel linux-image-2.6.18-5-686, and libc6 version 2.3.6.ds1-13etch2.

- Amos Statter





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

Reply via email to