To receive notifications about scheduled maintenance, please subscribe to the mailing-list You can subscribe to the mailing-list at

Commit 0d023fed authored by Axel Beckert's avatar Axel Beckert

Also check /etc/cron.hourly/0anacron on RHEL

parent 644e1cd4
......@@ -94,6 +94,28 @@ foreach my $glob (sort keys %ioc) {
# Check /etc/cron.hourly/0anacron for not being touched (RPM-only)
if (-e '/etc/cron.hourly/0anacron') {
my $rpm = `which rpm`;
if ($rpm) {
my @rpm_anacron = `rpm -Vvf /etc/cron.hourly/0anacron`;
# In debug mode, output all modified anacron files, should at
# least output some directories.
unless ($debug) {
@rpm_anacron = grep m(/etc/cron.hourly/0anacron\b), @rpm_anacron;
@rpm_anacron = grep !m(\Q......... /), @rpm_anacron;
foreach my $rpmline (@rpm_anacron) {
print "$hostname EGI20200421: modifed anacron file: $rpmline";
} else {
print "WARNING on $hostname: /etc/cron.hourly/0anacron found but not rpm.\n";
# Check for the Diamorphine Linux Kernel Module
# (
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment