Code: Select all
/etc/cron.daily/logrotate:
logrotate_script: 2: logrotate_script: /usr/bin/killall: not found
error: error running non-shared postrotate script for /var/log/mosquitto/mosquitto.log of '/var/log/mosquitto/mosquitto.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1
Poking around a bit I see that killall is provided by the package psmisc which is not installed on this system. I also see that mosquitto was updated yesterday. I also see that mosquitto does not require psmisc.
Code: Select all
root@oak:/var/log# apt-cache depends mosquitto
mosquitto
Depends: adduser
Depends: libuuid1
Depends: lsb-base
Depends: libc6
Depends: libssl1.1
Depends: libwebsockets8
Depends: libwrap0
Suggests: apparmor
root@oak:/var/log# apt search killall
Sorting... Done
Full Text Search... Done
psmisc/stable 22.21-2.1+b2 amd64
utilities that use the proc file system
sysvinit-utils/stable,now 2.88dsf-59.9 amd64 [installed]
System-V-like utilities
root@oak:/var/log#
It looks to me like the update to the mosquitto package now includes a dependency on psmisc but is not configured to require this. Or am I looking in the wrong place?
Thanks!