Logwatch doesn't work in LXC containers

microniko

New Member
Oct 16, 2022
1
0
1
Hello,
I have a problem with logwatch not working in LXC container while it works in VMs. I don't understand why !
I have 2 containers with the same problem.

Mail can send with the mail command.

I think Cron works :
Code:
#  run-parts --test /etc/cron.daily
/etc/cron.daily/00logwatch
/etc/cron.daily/apt-compat
/etc/cron.daily/dpkg
/etc/cron.daily/logrotate
/etc/cron.daily/man-db

Code:
# grep cron.daily /var/log/syslog
Oct 15 06:46:01 plouf CRON[11854]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Oct 16 06:46:01 plouf CRON[12994]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Any idea ?

Thx