Bug#966119: popularity-contest: Unable to find runuser due to missing /sbin/ in PATH?
Package: popularity-contest
Version: 1.67
Severity: important
After enabling email on my laptop for the first time in many years, I
discovered this message from the cron subsystem:
From: root@mylaptop (Cron Daemon)
Subject: Cron <root@mylaptop> test -x /etc/cron.daily/popularity-contest && /etc/cron.daily/popularity-contest --crond
To: root@mylaptop
Date: Thu, 23 Jul 2020 04:50:01 +0200
/etc/cron.daily/popularity-contest: 109:
/etc/cron.daily/popularity-contest: runuser: not found
The laptop installation has survived many upgrades, so the problem might
have bee introduced a long time ago. This seem to be the same problem
reported in <URL: https://bugs.debian.org/709892 >, which was believed
to be solved then.
Here are some pieces of information that might be relevant:
root@minerva:~# ls -l /etc/cron*/popu*
-rwxr-xr-x 1 root root 4571 mai 20 2018 /etc/cron.daily/popularity-contest
-rw-r--r-- 1 root root 124 juni 22 2015 /etc/cron.d/popularity-contest
root@minerva:~# cat /etc/cron.d/popularity-contest
SHELL=/bin/sh
50 4 * * * root test -x /etc/cron.daily/popularity-contest && /etc/cron.daily/popularity-contest --crond
root@minerva:~# dpkg -l '*cron*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-==================-============-=======================================
ii anacron 2.3-28 amd64 cron-like program that doesn't go by ti
ii cron 3.0pl1-134+deb10u1 amd64 process scheduling daemon
--
Happy hacking
Petter Reinholdtsen
Reply to: