Package: e2fsprogs Version: 1.45.2-1 Severity: minor File: /etc/cron.d/e2scrub_all
Hi, The cronjob (/etc/cron.d/e2scrub_all) file is a conffile, that means that if the package is removed without being purge, the cronjob will still be installed, but the executable will not. The cronjob should test the presence of the executable. This is less a problem these days as the cronjob is a noop if systemd is used. It's probably the best to keep checking if systemd is used first as this should be the default case. Maybe something like that: [ ! -d /run/systemd/system -a -x /usr/lib/x86_64-linux-gnu/e2fsprogs/e2scrub_all_cron ] && /usr/lib/x86_64-linux-gnu/e2fsprogs/e2scrub_all_cron [ ! -d /run/systemd/system -a -x /sbin/e2scrub_all ] && /sbin/e2scrub_all -C -A -r Kind regards, Laurent Bigonville -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy Versions of packages e2fsprogs depends on: ii libblkid1 2.33.1-0.1 ii libc6 2.28-10 ii libcom-err2 1.45.2-1 ii libext2fs2 1.45.2-1 ii libss2 1.45.2-1 ii libuuid1 2.33.1-0.1 Versions of packages e2fsprogs recommends: ii e2fsprogs-l10n 1.45.2-1 Versions of packages e2fsprogs suggests: pn e2fsck-static <none> ii fuse2fs 1.45.2-1 pn gpart <none> ii parted 3.2-25 -- no debconf information