# Steps to reproduce 1. $ multipass launch bionic --name b1 2. $ multipass exec b1 bash 3. $ sudo apt update 4. $ sudo apt install aide 5. At the MTA configuration select "No configuration" 6. $ sudo run-parts /etc/cron.daily 7. $ sudo run-parts /etc/cron.daily 8. $ sudo ls /run/aide
At this point, the /run/aide directory will have a cron.daily and cron.daily.old* folder It appears that the aide crontab will fail if an MTA is not configured or is not even running. Instead of selecting "No configuration" stopping the postfix process will cause the same failure. # Possible workarounds/fixes 1. Remove `set -e` from /etc/cron.daily/aide or add `set +e` around the postfix section to ensure the cronjob completes even if the MTA is down 2. If this is due to a unconfigured MTA, then ensure that it is configured For example, set the MTA to a local configuration: $ sudo debconf-set-selections <<< "postfix postfix/main_mailer_type select 'Local only'" $ sudo dpkg-reconfigure -f noninteractive postfix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1935559 Title: Cron script uses up all space in /run To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/aide/+bug/1935559/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs