I have a logwatch issue that makes no sense and need insight into resolving it.
The default for logwatch is to report on all logs specified in /etc/logwatch/conf/logwatch.conf. But, that does not add a fortune toward the end as it did on the old server. Adding 'Service = zz-fortune' produced the notice that when 'Service = All' only subtrations can be specified. So, I removed 'Service = All' and specified the desired output: # The 'Service' option expects either the name of a filter (in # /usr/share/logwatch/scripts/services/*) or 'All'. The default service(s) # to report on. This should be left as All for most people. Service = cron Service = kernel Service = postfix Service = sshd Service = syslogd Service = xntpd Service = zz-disk_space Service = zz-fortune Service = zz-lm_sensors Now when I look for 'Service = All' grep returns nothing: [root@salmo /etc/logwatch]# grep -R "Service = All" * [root@salmo /etc/logwatch]# So, why does running logwatch (both from the command line and from cron.daily) return this mail message:
From [email protected] Sat Oct 26 04:40:04 2019
Date: Sat, 26 Oct 2019 04:40:04 -0700 (PDT) From: [email protected] To: [email protected] Subject: cron for user root /usr/bin/run-parts /etc/cron.daily 1> /dev/null Wrong configuration entry for "Service", if "All" selected, only "-" items are allowed On what forum might be the most appropriate to ask for help: linuxquestions, stackexchange, unixcraft, other? This is the last system issue I need to resolve. TIA, Rich _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
