Public bug reported:

The /etc/cron.daily/aide script sets a variable $TMPBASE to "/run/aide".
Each time this script is run (daily), it moves the current data in
/run/aide/cron.daily to a directory with a random name:
/run/aide/cron.daily.old.XXXXXXXXXX.

When doing this, it preserves all the data from the previous run and
adds approximately the same amount of data from the current run.
Eventually, all this data will fill up the /run filesystem.

This bug will affect anyone that has run the CIS hardening scripts on
their systems. We would like this to be fixed so that this is not the
default behavior.

root@my-server:/run# df -h /run 
Filesystem Size Used Avail Use% Mounted on 
tmpfs 796M 796M 0 100% /run

root@my-server:/run# du -sch * | grep -vE '^0|K' 
794M aide 
1.3M udev 
796M total

root@my-server:/run# du -sch aide/* | grep -vE '^0|K'
99M aide/cron.daily
100M aide/cron.daily.old.1MV71MCH2b
100M aide/cron.daily.old.6Vli33Nc11
99M aide/cron.daily.old.CECwDp5c8s
100M aide/cron.daily.old.HxbiTwfaIW
100M aide/cron.daily.old.lZEPrqsxkR
794M total

** Affects: aide (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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

Reply via email to