Bug#928977: e2fsprogs: e2scrub_all cron job complains about lack of lvm2
Package: e2fsprogs Version: 1.45.1-1 Followup-For: Bug #928977 The patch from Message #26 looks good, and I would welcome it. (The idea, to exit silently if only the prerequisite is missing, and only if called as cronjob or newspeak equivalent, is good.) -- System Information: Debian Release: 10.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 4.19.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/lksh Init: sysvinit (via /sbin/init) Versions of packages e2fsprogs depends on: ii libblkid12.33.1-0.1 ii libc62.28-10 ii libcom-err2 1.45.1-1 ii libext2fs2 1.45.1-1 ii libss2 1.45.1-1 ii libuuid1 2.33.1-0.1 Versions of packages e2fsprogs recommends: pn e2fsprogs-l10n Versions of packages e2fsprogs suggests: pn e2fsck-static pn fuse2fs pn gpart ii parted 3.2-25 -- no debconf information
Bug#928977: e2fsprogs: e2scrub_all cron job complains about lack of lvm2
Package: e2fsprogs Version: 1.45.1-1 Severity: normal After the latest upgrade of e2fsprogs I started getting email from cron about lvm2 not being installed: Subject: Cron test -e /run/systemd/system || /sbin/e2scrub_all -A -r e2scrub_all: can't find lvcreate --- is lvm2 installed? Since lvm2 is not a dependency of e2fsprogs this cron job should not trigger an email if it is not installed. -- System Information: Debian Release: 10.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages e2fsprogs depends on: ii libblkid12.33.1-0.1 ii libc62.28-10 ii libcom-err2 1.45.1-1 ii libext2fs2 1.45.1-1 ii libss2 1.45.1-1 ii libuuid1 2.33.1-0.1 Versions of packages e2fsprogs recommends: pn e2fsprogs-l10n Versions of packages e2fsprogs suggests: pn e2fsck-static pn fuse2fs pn gpart ii parted 3.2-25 -- no debconf information