Package: approx
Version: 5.10-1
Severity: normal
Tags: patch

script /etc/cron.weekly/approx does not work if the content of the variable 
cache is a symlink.

I would like to suggest changing the two calls to 'find' as in the example 
attached below.

Cheers, Christian

-- System Information:
Debian Release: 10.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-0.bpo.5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages approx depends on:
ii  adduser                      3.118
ii  bzip2                        1.0.6-9.2~deb10u1
ii  curl                         7.64.0-4+deb10u2
ii  init-system-helpers          1.56+nmu1
ii  libc6                        2.28-10
ii  libpcre3                     2:8.39-12
ii  rsyslog [system-log-daemon]  8.1901.0-1
ii  xz-utils                     5.2.4-1

approx recommends no packages.

Versions of packages approx suggests:
pn  libconfig-model-approx-perl  <none>

-- Configuration Files:
/etc/cron.weekly/approx changed:
cache=/var/cache/approx
max_age=2000
find -L $cache -type f -mtime +$max_age -delete -print
find -L $cache -empty -delete


-- no debconf information

Reply via email to